From 761b54fc17aeedc77e07a5ec5ff8f412ea46e798 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Tue, 6 Jul 2010 10:37:11 +0200
Subject: [PATCH] fix table prefix not being set correctly to an empty string
 on first run when using sqlite

---
 inc/lib_config.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/inc/lib_config.php b/inc/lib_config.php
index 77fd68a189e..cbf86b17aa1 100755
--- a/inc/lib_config.php
+++ b/inc/lib_config.php
@@ -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'){
-- 
GitLab