fix: select fetch
This commit is contained in:
parent
acfae23029
commit
21ebecac54
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user