From bcdc75b5dcfd68db2b503994b0ed6d3e8cd0eb07 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 30 Aug 2014 15:23:17 +0200 Subject: [PATCH] Fixed _ table prefix when no table prefix set (#196) --- php/define.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/define.php b/php/define.php index d1768f6..1ecb343 100644 --- a/php/define.php +++ b/php/define.php @@ -34,7 +34,7 @@ function defineTablePrefix($dbTablePrefix) { # Parse table prefix # Old users do not have the table prefix stored in their config-file - if (!isset($dbTablePrefix)) $dbTablePrefix = ''; + if (!isset($dbTablePrefix)||$dbTablePrefix==='') $dbTablePrefix = ''; else $dbTablePrefix .= '_'; # Define tables