This commit is contained in:
Michał Sieciechowicz 2021-02-27 10:14:24 +01:00
parent 2414d4e780
commit fbd15db840
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_CLASS|PDO::FETCH_PROPS_LATE, $output); $stmt->setFetchMode(PDO::FETCH_INTO, $output);
return $stmt->fetch(); return $stmt->fetch();
} }