1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Bugtracker #4132 - typo in upload handler - thanks SecretR

This commit is contained in:
e107steved
2007-10-10 21:28:43 +00:00
parent 764e41f653
commit 4cff5859a1

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/upload_handler.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/upload_handler.php,v $
| $Revision: 1.8 $ | $Revision: 1.9 $
| $Date: 2007-09-20 21:04:23 $ | $Date: 2007-10-10 21:28:43 $
| $Author: e107steved $ | $Author: e107steved $
+---------------------------------------------------------------+ +---------------------------------------------------------------+
*/ */
@@ -629,7 +629,7 @@ function file_size_decode($source, $compare = 0, $action = '')
} }
} }
if ($val == 0) return $compare; if ($val == 0) return $compare;
switch (action) switch ($action)
{ {
case 'lt' : return min($val, $compare); case 'lt' : return min($val, $compare);
case 'gt' : return max($val, $compare); case 'gt' : return max($val, $compare);