From 1e7e0ed272a3fa984241314dc01a871d3fa03c35 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 22 Nov 2012 16:07:25 +0100 Subject: sqlbox: Remove unneeded brackets in class initialization --- sqlbox/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlbox/view.php') 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); -- cgit