mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fixed undefined $ret
This commit is contained in:
parent
a26538c3f0
commit
b9729ad763
@ -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;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user