projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
990d4ae
)
Show arrays nicely
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 26 Feb 2011 04:55:59 +0000
(20:55 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 26 Feb 2011 04:55:59 +0000
(20:55 -0800)
postgresql/exec.cgi
patch
|
blob
|
history
diff --git
a/postgresql/exec.cgi
b/postgresql/exec.cgi
index
0cefb3e
..
df60f6d
100755
(executable)
--- a/
postgresql/exec.cgi
+++ b/
postgresql/exec.cgi
@@
-24,7
+24,9
@@
else {
if (@data) {
print &ui_columns_start($d->{'titles'});
foreach $r (@data) {
- print &ui_columns_row($r);
+ @prow = map { ref($_) eq 'ARRAY' ? join(", ", @$_)
+ : $_ } @$r;
+ print &ui_columns_row(\@prow);
}
print &ui_columns_end();
}