diff --git a/index.php b/index.php index ca73a50..7ac6058 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@ abstract class BaseModel { protected static $sql = null; public static function Get(int $id) { - self::Initialize(); + static::Initialize(); return ConnectionManager::Query( self::$sql->Get(), [],