mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-15 02:04:54 +02:00
Fixed undefined $ret
This commit is contained in:
@@ -50,7 +50,7 @@ class Hook
|
|||||||
$ret = require BASE . $this->_file;
|
$ret = require BASE . $this->_file;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $ret === null || $ret == 1 || $ret;
|
return !isset($ret) || $ret == 1 || $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function name() {return $this->_name;}
|
public function name() {return $this->_name;}
|
||||||
|
Reference in New Issue
Block a user