Skip to content

Commit 4cb0395

Browse files
committed
fix
1 parent b6fbe22 commit 4cb0395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Model {
3636
* Returns false by default
3737
*/
3838
private static function _error($msg) {
39-
if ($debug) throw new \Exception($msg);
39+
if (self::$debug) throw new \Exception($msg);
4040
else {
4141
trigger_error($msg, E_USER_NOTICE);
4242
return false;

0 commit comments

Comments
 (0)