store numbers as strings to prevent errors with numeric passwords
This commit is contained in:
parent
f863002e95
commit
00858efbe2
1 changed files with 0 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue