Fix missing self:: reference for
This commit is contained in:
parent
1a8541fe9d
commit
770f6ed88c
|
@ -12,7 +12,7 @@ class AppDB {
|
||||||
private static $dbh = null;
|
private static $dbh = null;
|
||||||
|
|
||||||
public static function getLastInsertId() {
|
public static function getLastInsertId() {
|
||||||
if ( is_null($dbh) ) return 0;
|
if ( is_null(self::$dbh) ) return 0;
|
||||||
return self::$dbh->lastInsertId();
|
return self::$dbh->lastInsertId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user