projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e8cd8
)
Only get column name keys.
author
Jan Schneider
<jan@horde.org>
Tue, 1 Feb 2011 14:11:57 +0000
(15:11 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 1 Feb 2011 14:11:57 +0000
(15:11 +0100)
horde/admin/sqlshell.php
patch
|
blob
|
history
diff --git
a/horde/admin/sqlshell.php
b/horde/admin/sqlshell.php
index
fe0ecf7
..
f5f9e06
100644
(file)
--- a/
horde/admin/sqlshell.php
+++ b/
horde/admin/sqlshell.php
@@
-60,7
+60,7
@@
if (isset($result)) {
echo '<table cellspacing="1" class="item striped">';
$first = true;
$i = 0;
- while ($row = $result->fetch()) {
+ while ($row = $result->fetch(
PDO::FETCH_ASSOC
)) {
if ($first) {
echo '<tr>';
foreach ($row as $key => $val) {