gui: pdo fetch should exclude numbered indexes in fetched rows

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-01-03 21:04:57 +01:00
parent 6eb6d5aebc
commit c846b6aa21

View File

@ -51,7 +51,7 @@ class MySQL {
$this->affected = $s->rowCount();
$R = $s->fetchAll();
$R = $s->fetchAll(PDO::FETCH_ASSOC);
while(list ($k, $v) = each($R)){
$data[$i] = $v;