Skip to content

Fix a warning message#305

Open
alfsb wants to merge 2 commits into
php:masterfrom
alfsb:fix-a-warning
Open

Fix a warning message#305
alfsb wants to merge 2 commits into
php:masterfrom
alfsb:fix-a-warning

Conversation

@alfsb

@alfsb alfsb commented Jun 22, 2026

Copy link
Copy Markdown
Member

No description provided.

@leonardolara

Copy link
Copy Markdown
Contributor

You could also add global $lang; in the function. It is already defined.

@alfsb

alfsb commented Jun 23, 2026

Copy link
Copy Markdown
Member Author

You could also add global $lang; in the function. It is already defined.

I had the impression that $lang as scoped inside the foreach(), and not in global space. Nice catch. Also fixed a logic error on the error reporting in the else of PARTIAL_IMPL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants