diff --git a/system/hooks.php b/system/hooks.php index 923cbc9c..9e422eed 100644 --- a/system/hooks.php +++ b/system/hooks.php @@ -50,7 +50,7 @@ class Hook $ret = require BASE . $this->_file; } - return $ret === null || $ret == 1 || $ret; + return !isset($ret) || $ret == 1 || $ret; } public function name() {return $this->_name;}