From 984466cff328e797bdabc415a6bfb1122bee3caf Mon Sep 17 00:00:00 2001 From: e107steved Date: Sun, 1 Jul 2007 21:12:30 +0000 Subject: [PATCH] Bugtracker #4001 - typo --- e107_handlers/upload_handler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/upload_handler.php b/e107_handlers/upload_handler.php index ef990b467..be6cc68a1 100644 --- a/e107_handlers/upload_handler.php +++ b/e107_handlers/upload_handler.php @@ -12,8 +12,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/upload_handler.php,v $ -| $Revision: 1.3 $ -| $Date: 2007-06-26 20:27:02 $ +| $Revision: 1.4 $ +| $Date: 2007-07-01 21:12:22 $ | $Author: e107steved $ +---------------------------------------------------------------+ */ @@ -242,7 +242,7 @@ function vet_file($filename, $target_name, $allowed_filetypes = '', $unknown = F return 9; // Never accept these! Whatever the user thinks! default : - if (is_boolean($unknown)) return ($unknown ? TRUE : 8); + if (is_bool($unknown)) return ($unknown ? TRUE : 8); $tmp = explode(',', $unknown); for ($i = 0; $i < count($tmp); $i++) { $tmp[$i] = strtolower(trim(str_replace('.', '', $tmp[$i]))); } if (!in_array($file_ext, $tmp)) return 6;