summaryrefslogtreecommitdiff
path: root/sqlbox/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'sqlbox/view.php')
-rw-r--r--sqlbox/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index 2169ab0..5f0e4a0 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -88,7 +88,7 @@ if (isset($data->sqlbox_query)) {
if (!$result)
error("Query failed: ".pg_last_error($db));
- $table = new html_table();
+ $table = new html_table;
$n = pg_num_fields($result);
for ($i = 0; $i < $n; $i++)
$table->head[] = pg_field_name($result, $i);