[FIX] mod-func-user_bookmarks : ERROR (E_WARNING): Trying to access array...
This is to fix the error ERROR (E_WARNING): Trying to access array offset on value of type bool At line 126 in modules/mod-func-user_bookmarks.php
on master when using the module {module module="user_bookmarks"}
in a wiki page.
Checked if $modb_p_info
is an array and if its parentId
key is set, then assigned $modb_father = $modb_p_info["parentId"]
; otherwise, set $modb_father
to 0
Edited by Sam Ndabo