mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
PHPDoc fixes and code optimization.
This commit is contained in:
@@ -899,7 +899,7 @@ function get_image_mime($filename, $extended = false)
|
||||
{ // Unspecified max - use the global value
|
||||
$allowed_filetypes[$t] = $max_upload_size;
|
||||
}
|
||||
elseif ($allowed_filetypes[$t] > $max_upload_size)
|
||||
elseif ($s > $max_upload_size)
|
||||
$allowed_filetypes[$t] = $max_upload_size;
|
||||
if ($allowed_filetypes[$t] > $new_max)
|
||||
$new_max = $allowed_filetypes[$t];
|
||||
|
Reference in New Issue
Block a user