fix: select fetch

This commit is contained in:
Johannes Kantz 2023-01-12 14:41:51 +01:00
parent acfae23029
commit 21ebecac54

View File

@ -118,7 +118,7 @@ class BancaDati {
$sql .= $order["order"]; $sql .= $order["order"];
} }
try { try {
return $this->pdo->query($sql); return $this->pdo->query($sql)->fetch();
}catch (PDOException $e){ }catch (PDOException $e){
die; die;
} }