]> git.mxchange.org Git - friendica.git/commit
Fixed fatal error: (#5532)
authorRoland Häder <Quix0r@users.noreply.github.com>
Tue, 31 Jul 2018 02:24:32 +0000 (04:24 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Tue, 31 Jul 2018 02:24:32 +0000 (22:24 -0400)
commit2c0ad47dfc3be0ebda45569aded5e1cd6f4825a2
tree055abfdcab285d4b1f4aebd3f9234623dc6567d6
parentc39e0dcf2a97a850c8a2cb39a05651075c295e18
Fixed fatal error: (#5532)

* Fixed fatal error:
````
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to add_page_info_data()
must be of the type array, boolean given, called in
/var/www/../include/items.php on line 153 and defined in
/var/www/../include/items.php:27
````

Fix for type-hint array when query_page_info() returned a non-array, this may
happen when the instance/node/pod owner decided to shutdown server and replace
all URLs with a replacement message.

* Fixed parser error, ops.
include/items.php