Fix missing self:: reference for

This commit is contained in:
Junior 2023-08-16 13:39:14 -04:00
parent 1a8541fe9d
commit 770f6ed88c

View File

@ -12,7 +12,7 @@ class AppDB {
private static $dbh = null;
public static function getLastInsertId() {
if ( is_null($dbh) ) return 0;
if ( is_null(self::$dbh) ) return 0;
return self::$dbh->lastInsertId();
}