mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Fix for banner params not saving in PHP7
This commit is contained in:
@@ -870,7 +870,7 @@ class e_menuManager {
|
||||
}
|
||||
}
|
||||
|
||||
$check = $sql->update("menus", "menu_parms='".$parms."' WHERE menu_id=".$id."");
|
||||
$check = $sql->update("menus", "menu_parms=\"".$parms."\" WHERE menu_id=".$id."");
|
||||
|
||||
if($check)
|
||||
{
|
||||
@@ -881,6 +881,7 @@ class e_menuManager {
|
||||
}
|
||||
elseif(false === $check)
|
||||
{
|
||||
|
||||
return array('msg'=>LAN_UPDATED_FAILED,'error'=>true);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user