Fixed _ table prefix when no table prefix set (#196)

This commit is contained in:
Tobias Reich 2014-08-30 15:23:17 +02:00
parent 2d1d8a5499
commit bcdc75b5dc

View File

@ -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