Skip to content
Snippets Groups Projects
Commit 761b54fc authored by Robin Appelman's avatar Robin Appelman
Browse files

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

parent 1bdfe395
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,7 @@ class OC_CONFIG{ ...@@ -193,6 +193,7 @@ class OC_CONFIG{
$CONFIG_DBPASSWORD=$_POST['dbpassword']; $CONFIG_DBPASSWORD=$_POST['dbpassword'];
}else{ }else{
$_POST['dbtableprefix']=''; $_POST['dbtableprefix']='';
$CONFIG_DBTABLEPREFIX='';
} }
try{ try{
if(isset($_POST['createdatabase']) and $CONFIG_DBTYPE!='sqlite'){ if(isset($_POST['createdatabase']) and $CONFIG_DBTYPE!='sqlite'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment