Various fixes to remove warnings in PHP 8.0

This commit is contained in:
Kijin Sung 2020-12-15 00:18:42 +09:00
parent 9a0bf6d907
commit 49923844b2
36 changed files with 271 additions and 176 deletions

View file

@ -671,7 +671,7 @@ class widgetController extends widget
return lang('msg_invalid_request');
}
if(!$GLOBALS['_xe_loaded_widgets_'][$widget])
if(!isset($GLOBALS['_xe_loaded_widgets_'][$widget]))
{
// Finding the location of a widget
$oWidgetModel = getModel('widget');