@@ 165-168 (lines=4) @@ | ||
162 | $mime_user = intval($_POST['mime_user']); |
|
163 | ||
164 | //Validate Mimetype entry |
|
165 | if (strlen(trim($mime_ext)) == 0) { |
|
166 | $has_errors = true; |
|
167 | $error['mime_ext'][] = _AM_XHELP_VALID_ERR_MIME_EXT; |
|
168 | } |
|
169 | ||
170 | if (strlen(trim($mime_name)) == 0) { |
|
171 | $has_errors = true; |
|
@@ 321-324 (lines=4) @@ | ||
318 | } |
|
319 | ||
320 | //Validate Mimetype entry |
|
321 | if (strlen(trim($_POST['mime_ext'])) == 0) { |
|
322 | $has_errors = true; |
|
323 | $error['mime_ext'][] = _AM_XHELP_VALID_ERR_MIME_EXT; |
|
324 | } |
|
325 | ||
326 | if (strlen(trim($_POST['mime_name'])) == 0) { |
|
327 | $has_errors = true; |