From 61b29ca9336b66d7c35600cae29d0211b8a19f7f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 23 Nov 2012 12:44:20 +0100 Subject: sqlbox: Fix incorrect call to old name of table_from_query --- sqlbox/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlbox') diff --git a/sqlbox/view.php b/sqlbox/view.php index 8d6f29a..9940306 100644 --- a/sqlbox/view.php +++ b/sqlbox/view.php @@ -89,7 +89,7 @@ if (isset($data->sqlbox_query)) { $table = db_table_from_query($db, $data->sqlbox_query); if (strlen($sqlbox->query) > 0) { - $table_orig = db_get_table_from_query($db, $sqlbox->query); + $table_orig = db_table_from_query($db, $sqlbox->query); if ($table->data != $table_orig->data || $table->head != $table_orig->head) $correct = false; -- cgit