Fix undefined values and other warnings

This commit is contained in:
Kijin Sung 2025-06-01 18:45:46 +09:00
parent 702eebaa92
commit eba7b75c3a
7 changed files with 73 additions and 37 deletions

View file

@ -339,7 +339,7 @@ class NcenterliteController extends Ncenterlite
function triggerAfterInsertDocument(&$obj)
{
if ($obj->disable_triggers[$this->module] === true)
if (isset($obj->disable_triggers[$this->module]) && $obj->disable_triggers[$this->module] === true)
{
return;
}