diff options
author | eMerzh <brice@bmaron.net> | 2012-12-14 11:10:53 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-06-12 14:36:28 +0200 |
commit | e33f68ecb6574d0d4675f5989283b08355f9e64c (patch) | |
tree | 6a45fd055354a4d91837850153766a7af77d5a4c /lib/setup.php | |
parent | edc255421c6b11be90b11d513ab92cac9fd09e1a (diff) | |
download | nextcloud-server-e33f68ecb6574d0d4675f5989283b08355f9e64c.tar.gz nextcloud-server-e33f68ecb6574d0d4675f5989283b08355f9e64c.zip |
Correct escaping
Diffstat (limited to 'lib/setup.php')
-rw-r--r-- | lib/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php index 0db565c6a66..d7ceb36ae95 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -322,7 +322,7 @@ class OC_Setup { if(!$connection) { // Try if we can't connect with the specified DB name $e_dbname = addslashes($dbname); - $connection_string = "host='$e_host' dbname='$dbname' user='$e_user' password='$e_password'"; + $connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' password='$e_password'"; $connection = @pg_connect($connection_string); if(!$connection) |