diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-12-14 22:52:40 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-12-15 00:43:46 +0100 |
commit | 8256650da881214e652353c9b79a5ba7964965e5 (patch) | |
tree | 80eb72a8aa10ec838624b3b3baad694bbd8d3d48 /lib | |
parent | 9f5868cf187fe0eedef79c9e468c589560bab1e0 (diff) | |
download | nextcloud-server-8256650da881214e652353c9b79a5ba7964965e5.tar.gz nextcloud-server-8256650da881214e652353c9b79a5ba7964965e5.zip |
Fix "No space found after comma in function call"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helper.php | 2 | ||||
-rw-r--r-- | lib/l10n.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/helper.php b/lib/helper.php index 5dec7fadfb4..be4e4e52677 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -540,7 +540,7 @@ class OC_Helper { mkdir($tmpDirNoClean); } $file=$tmpDirNoClean.md5(time().rand()).$postfix; - $fh=fopen($file,'w'); + $fh=fopen($file, 'w'); fclose($fh); return $file; } diff --git a/lib/l10n.php b/lib/l10n.php index b83d8ff86db..cb67cfd4ed6 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -294,12 +294,12 @@ class OC_L10N{ } foreach($accepted_languages as $i) { $temp = explode(';', $i); - $temp[0] = str_replace('-','_',$temp[0]); + $temp[0] = str_replace('-', '_', $temp[0]); if( ($key = array_search($temp[0], $available)) !== false) { return $available[$key]; } foreach($available as $l) { - if ( $temp[0] == substr($l,0,2) ) { + if ( $temp[0] == substr($l, 0, 2) ) { return $l; } } |