diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filecache.php | 2 | ||||
-rw-r--r-- | lib/public/template.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/filecache.php b/lib/filecache.php index 8763865c8c3..9fa3fbea97d 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -640,7 +640,7 @@ class OC_FileCache{ $cachedMTime=$row['mtime']; return ($mtime>$cachedMTime); }else{//file not in cache, so it has to be updated - return !($isDir);//new folders are handeled sperate + return true; } } diff --git a/lib/public/template.php b/lib/public/template.php index dfdf71eb11d..3d1ab2c7c2e 100644 --- a/lib/public/template.php +++ b/lib/public/template.php @@ -94,7 +94,7 @@ function simple_file_size($bytes) { * @returns html options */ function html_select_options($options, $selected, $params=array()) { - return(\html_select_options($options, $selected, $params=array())); + return(\html_select_options($options, $selected, $params)); } |