mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Also prevent addons from overwriting output with query object
This commit is contained in:
parent
82da535ec6
commit
53a24a0e8a
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,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)
|
||||
if($output === false || $output === null || $output instanceof Object)
|
||||
{
|
||||
$output = $original_output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue