issue 187 db table prefix change to not required

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9633 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-13 05:44:48 +00:00
parent e6a7e15991
commit 5432fb3bda
7 changed files with 7 additions and 7 deletions

View file

@ -437,7 +437,7 @@
$buff .= 'array(';
foreach($con_string as $k => $v){
if(in_array($k, array('resource', 'is_connected'))) continue;
if($k == 'db_table_prefix'){
if($k == 'db_table_prefix' && !empty($v)){
if(substr($v,-1)!='_') $v .= '_';
}
$buff .= "'$k' => '$v',";