From afee192d2a77afa1c11d25156d0a44df94e19aed Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Sat, 23 Jan 2016 07:30:37 -0500
Subject: [PATCH] fixed the cronjob and noticed a bug in ISPC but not able to report as FlySpray is offline

---
 server/lib/classes/file.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/classes/file.inc.php b/server/lib/classes/file.inc.php
index a5f4c84..eadb38b 100644
--- a/server/lib/classes/file.inc.php
+++ b/server/lib/classes/file.inc.php
@@ -190,7 +190,7 @@
 		// @ext_save : 1 for YES, 0 for NO - meaning it will filter out system files or not (such as .htaccess)
 
 		$dirname = realpath($dirname);
-		if (!$exts || empty($exts) || $exts == '') {
+		if (empty($exts)) {
 			$exts = array('jpg', 'gif', 'jpeg', 'png');
 		}
 		if ($handle = opendir($dirname)) {

--
Gitblit v1.9.1