From: Jan Schneider Date: Tue, 1 Feb 2011 14:11:57 +0000 (+0100) Subject: Only get column name keys. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6bcc0fdcff9d906f24696d269ec41602c67fe6d9;p=horde.git Only get column name keys. --- diff --git a/horde/admin/sqlshell.php b/horde/admin/sqlshell.php index fe0ecf71d..f5f9e0677 100644 --- a/horde/admin/sqlshell.php +++ b/horde/admin/sqlshell.php @@ -60,7 +60,7 @@ if (isset($result)) { echo ''; $first = true; $i = 0; - while ($row = $result->fetch()) { + while ($row = $result->fetch(PDO::FETCH_ASSOC)) { if ($first) { echo ''; foreach ($row as $key => $val) {