diff options
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index e655245..a3fd7ed 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -288,7 +288,7 @@ function mwexec_bg($command) { /* unlink a file, if it exists */ function unlink_if_exists($fn) { $to_do = glob($fn); - if(is_array($to_do) { + if(is_array($to_do)) { foreach($to_do as $filename) if (file_exists($filename)) unlink($filename); } else { |