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
Last revision of fatfree changes number decimals handling and accidentally broke it. Culprit is commit #3604f7a in fatfree-core: https://github.com/bcosca/fatfree-core/blob/master/base.php#L995 which goes to: https://github.com/bcosca/fatfree/blob/master/lib/base.php#L980
Bug is in:
isset($prop)? $prop: $frac?strlen($frac)-2:0,
which should be:
isset($prop)? $prop: ($frac?strlen($frac)-2:0),
Note parentheses around second ternary. You've been hit by PHP's ternary design bug.
PS. Could You make some tests to check for formatting bugs?
The text was updated successfully, but these errors were encountered:
fix number format ternary, bcosca/fatfree#1142
384c86f
nice catch. thanks. ref.: f3-factory/fatfree-core@3604f7a
Sorry, something went wrong.
Thanks for quick commit 👍 :)
No branches or pull requests
Last revision of fatfree changes number decimals handling and accidentally broke it.
Culprit is commit #3604f7a in fatfree-core:
https://github.com/bcosca/fatfree-core/blob/master/base.php#L995
which goes to:
https://github.com/bcosca/fatfree/blob/master/lib/base.php#L980
Bug is in:
which should be:
Note parentheses around second ternary. You've been hit by PHP's ternary design bug.
PS. Could You make some tests to check for formatting bugs?
The text was updated successfully, but these errors were encountered: