Commit 00815bb61c6d40a5cf92c7fe0e8c287952775d27

Authored by nbm
1 parent 35c747eb

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
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");
... ...