]> git.mxchange.org Git - friendica.git/commit
sizeof bug
authorAlexandre Alapetite <alexandre@alapetite.fr>
Thu, 17 May 2018 05:35:58 +0000 (07:35 +0200)
committerAlexandre Alapetite <alexandre@alapetite.fr>
Thu, 17 May 2018 05:37:50 +0000 (07:37 +0200)
commite7d2d27938ceaa40f7cd77cf3a28d66bf20d0291
tree487a6a5765c721afe82b5e6ad5f2363f104936d3
parentc9bca54228c8675c6d4105abb4568321776a3ef6
sizeof bug

sizeof cannot be used to test existance.

Fixes: Got error 'PHP message: PHP Warning: sizeof(): Parameter must be
an array or an object that implements Countable in
/.../include/items.php on line 66\n':  1 Time(s)

PHP 7.2.5 / Ubuntu 17.04 LTS
include/items.php