diff --git a/index.php b/index.php index 7ac6058..8a8fd75 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@ abstract class BaseModel { static::Initialize(); return ConnectionManager::Query( self::$sql->Get(), - [], + ['id' => $id], get_called_class()); }