This commit is contained in:
Michał Sieciechowicz 2021-02-27 10:49:56 +01:00
parent fbd15db840
commit 7542ae1ac9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class ConnectionManager {
$stmt = self::$connection->prepare($query); $stmt = self::$connection->prepare($query);
$stmt->execute($params); $stmt->execute($params);
$stmt->setFetchMode(PDO::FETCH_INTO, $output); $stmt->setFetchMode(PDO::FETCH_INTO, new $output());
return $stmt->fetch(); return $stmt->fetch();
} }