diff options
Diffstat (limited to 'etc/inc/util.inc')
-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 b555115..e655245 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -292,7 +292,7 @@ function unlink_if_exists($fn) { foreach($to_do as $filename) if (file_exists($filename)) unlink($filename); } else { - if (file_exists($to_do)) unlink($to_do); + if (file_exists($fn)) unlink($fn); } } |