We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler create a !empty($variable) to if (!($variable === false) which is true on an "" empty string.
I'm not sure if this is the best way but fixed it for me. Composer says it's PHP 5.2+ but it isn't?
file: smarty_internal_templatecompilerbase.ph
line 589:
if ($parHasFuction && version_compare(PHP_VERSION, '5.5.0', '<')) {
I added
if ($parHasFuction && version_compare(PHP_VERSION, '5.4.0', '<')) { //custom return $func_name . '(' . $parameter[ 0 ] . ')'; //custom } else
So it looks like this
if ($parHasFuction && version_compare(PHP_VERSION, '5.4.0', '<')) { //custom return $func_name . '(' . $parameter[ 0 ] . ')'; //custom } else if ($parHasFuction && version_compare(PHP_VERSION, '5.5.0', '<')) {
The text was updated successfully, but these errors were encountered:
This is very much related to #453 and will be fixed in #567
Sorry, something went wrong.
No branches or pull requests
Compiler create a !empty($variable) to if (!($variable === false) which is true on an "" empty string.
I'm not sure if this is the best way but fixed it for me. Composer says it's PHP 5.2+ but it isn't?
file: smarty_internal_templatecompilerbase.ph
line 589:
I added
So it looks like this
The text was updated successfully, but these errors were encountered: