IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
258 | 258 | return call_user_func($upload_error_handler, $file, __( 'Invalid form submission.' )); |
259 | 259 | |
260 | 260 | // A successful upload will pass this test. It makes no sense to override this one. |
261 | | if ( $file['error'] > 0 ) |
262 | | return call_user_func($upload_error_handler, $file, $upload_error_strings[$file['error']] ); |
| 261 | if ( isset( $file['error'] ) && $file['error'] > 0 ) { |
| 262 | return call_user_func( $upload_error_handler, $file, $upload_error_strings[$file['error']] ); |
| 263 | } |
263 | 264 | |
264 | 265 | // A non-empty file will pass this test. |
265 | 266 | if ( $test_size && !($file['size'] > 0 ) ) { |