From 01b84b7608d8a5510938438452f79288f24ba3fe Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 6 Sep 2008 20:06:46 +0000 Subject: Fixes #330: I implemented the changes you suggested (except for quotes around the table name). What problems did you encounter? git-svn-id: https://code.elgg.org/elgg/trunk@2055 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/database.php b/engine/lib/database.php index abd3e52a4..53cacdb05 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -346,7 +346,7 @@ } try{ - $result = get_data("show tables"); + $result = get_data("show tables like '" . $CONFIG->dbprefix . "%'"); } catch (DatabaseException $d) { // Likely we can't handle an exception here, so just return false. -- cgit v1.2.3