new
This commit is contained in:
parent
fbd15db840
commit
7542ae1ac9
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue