From 2706988225f7ef36463c8aceaeb3ec84108abde7 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Mon, 28 May 2012 20:56:21 +0000 Subject: [PATCH] Set table prefix if not set in postgresql install --- lib/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/setup.php b/lib/setup.php index 5f1fb1525ec..e1c1a110b38 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -150,7 +150,7 @@ class OC_Setup { $dbpass = $options['dbpass']; $dbname = $options['dbname']; $dbhost = $options['dbhost']; - $dbtableprefix = $options['dbtableprefix']; + $dbtableprefix = isset($options['dbtableprefix']) ? $options['dbtableprefix'] : 'oc_'; OC_CONFIG::setValue('dbname', $dbname); OC_CONFIG::setValue('dbhost', $dbhost); OC_CONFIG::setValue('dbtableprefix', $dbtableprefix); -- 2.39.5