diff --git a/lib/setup.php b/lib/setup.php index 8c2d523121085f1d9cf2b9b92d277672a5478d9d..8137eb720e5b928bb8e92e1d02ee108518b90efd 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -145,7 +145,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);