diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-14 01:11:49 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-14 01:20:41 +0200 |
commit | 00858efbe27be3e4e594a9eba40214f451188af5 (patch) | |
tree | 6ce17f3b931ae0b93a9c8bd7f525fa7d9b75a5f9 /lib/config.php | |
parent | f863002e95e864939923e286ba18e7adfbb786e7 (diff) | |
download | nextcloud-server-00858efbe27be3e4e594a9eba40214f451188af5.tar.gz nextcloud-server-00858efbe27be3e4e594a9eba40214f451188af5.zip |
store numbers as strings to prevent errors with numeric passwords
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/config.php b/lib/config.php index 60c6739a3fe..cd18ddd499c 100644 --- a/lib/config.php +++ b/lib/config.php @@ -169,9 +169,6 @@ class OC_CONFIG{ $value = $value ? 'true' : 'false'; $content .= "\"$key\" => $value,\n"; } - elseif( is_numeric( $value )){ - $content .= "\"$key\" => $value,\n"; - } else{ $value = str_replace( "'", "\\'", $value ); $content .= "\"$key\" => '$value',\n"; |