Commit 2cfc5f5d70d788640d5a798cc8f9d2c0b767d553
1 parent
b0a4d666
Check the 'error' value in the file array to see if there needs to be
any error handling. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4544 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
lib/validation/dispatchervalidation.inc.php
| ... | ... | @@ -188,6 +188,8 @@ class KTDispatcherValidation { |
| 188 | 188 | $bError = false; |
| 189 | 189 | if (strlen($aFile['name']) == 0) { |
| 190 | 190 | $bError = true; |
| 191 | + } else { | |
| 192 | + $bError = KTUtil::arrayGet($aFile, 'error'); | |
| 191 | 193 | } |
| 192 | 194 | if ($bError) { |
| 193 | 195 | $message = _("You did not select a valid document to upload"); | ... | ... |