summaryrefslogtreecommitdiff
path: root/sqlbox/view.php
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-23 12:44:20 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-23 12:47:42 +0100
commit61b29ca9336b66d7c35600cae29d0211b8a19f7f (patch)
tree9bfb21b525586ec7a8c68691ab838a308b389f07 /sqlbox/view.php
parentc5350ff781c71393e80a91dcb09a7651c1bee7de (diff)
downloadsqltutor-plugin-61b29ca9336b66d7c35600cae29d0211b8a19f7f.tar.gz
sqltutor-plugin-61b29ca9336b66d7c35600cae29d0211b8a19f7f.tar.bz2
sqltutor-plugin-61b29ca9336b66d7c35600cae29d0211b8a19f7f.zip
sqlbox: Fix incorrect call to old name of table_from_query
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 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;