Commit c136d5b
committed
bug #235 Fix invalid use of count() in PHP 7.2 (merk)
This PR was merged into the 3.x-dev branch.
Discussion
----------
Fix invalid use of count() in PHP 7.2
ref #223
PHP 7.2+ issues a warning when trying to count a non Iterable. The case in this code is not clear if it should just check for the presence of a handler or not. I suspect the original intention was to make sure the specified handler is defined in the configuration, but this should happen in the Extension?
Commits
-------
ab76969 Fix invalid use of count() in PHP 7.21 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| |||
0 commit comments