Update php8.1

This commit is contained in:
gtbu 2022-05-22 16:18:30 +02:00
parent e875dacbd4
commit e5cd9b207e

View file

@ -170,8 +170,8 @@ class Menu extends \gp\special\Base{
public function SetCollapseSettings(){
$gp_menu_collapse =& $_COOKIE['gp_menu_hide'];
$search = '#' . $this->curr_menu_id . '=[';
$gp_menu_collapse .= "";
$pos = strpos($gp_menu_collapse, $search);
if( $pos === false ){
return;