Convert Object class to BaseObject in core classes

This commit is contained in:
Kijin Sung 2017-11-27 22:34:28 +09:00
parent 5bdf95932f
commit 1a81fd43f3
16 changed files with 129 additions and 120 deletions

View file

@ -68,7 +68,7 @@ class DisplayHandler extends Handler
$oAddonController = getController('addon');
$addon_file = $oAddonController->getCacheFilePath(Mobile::isFromMobilePhone() ? "mobile" : "pc");
if(file_exists($addon_file)) include($addon_file);
if($output === false || $output === null || $output instanceof Object)
if($output === false || $output === null || $output instanceof BaseObject)
{
$output = $original_output;
}