fix table prefix not being set correctly to an empty string on first run when using sqlite

This commit is contained in:
Robin Appelman 2010-07-06 10:37:11 +02:00
parent 1bdfe395cd
commit 761b54fc17

View file

@ -193,6 +193,7 @@ class OC_CONFIG{
$CONFIG_DBPASSWORD=$_POST['dbpassword'];
}else{
$_POST['dbtableprefix']='';
$CONFIG_DBTABLEPREFIX='';
}
try{
if(isset($_POST['createdatabase']) and $CONFIG_DBTYPE!='sqlite'){