mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:31:58 +01:00
gui: pdo fetch should exclude numbered indexes in fetched rows
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
6eb6d5aebc
commit
c846b6aa21
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user