aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-06 20:06:46 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-06 20:06:46 +0000
commit01b84b7608d8a5510938438452f79288f24ba3fe (patch)
treea06fc8bb4c5fef083d80f760206684c92277e755 /engine
parent8677735213dd71e3ccb889fe83027671872cccd0 (diff)
downloadelgg-01b84b7608d8a5510938438452f79288f24ba3fe.tar.gz
elgg-01b84b7608d8a5510938438452f79288f24ba3fe.tar.bz2
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
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/database.php2
1 files changed, 1 insertions, 1 deletions
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.