summaryrefslogtreecommitdiff
path: root/sqlbox/view.php
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-22 16:07:25 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-22 16:07:25 +0100
commit1e7e0ed272a3fa984241314dc01a871d3fa03c35 (patch)
tree686c8bb5a20ad13844e615e3eac784fd5a28302a /sqlbox/view.php
parentacd0d17d577081af76709a440e368f41bfb28b48 (diff)
downloadsqltutor-plugin-1e7e0ed272a3fa984241314dc01a871d3fa03c35.tar.gz
sqltutor-plugin-1e7e0ed272a3fa984241314dc01a871d3fa03c35.tar.bz2
sqltutor-plugin-1e7e0ed272a3fa984241314dc01a871d3fa03c35.zip
sqlbox: Remove unneeded brackets in class initialization
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);