summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
Diffstat (limited to 'sqlbox')
-rw-r--r--sqlbox/view.php2
1 files changed, 1 insertions, 1 deletions
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;