Commit fe3782dfef2d7b7676a8c632e30a1007afdaac4f

Authored by donald_jackson
1 parent d05703b0

"An error occurs on Check-out when the user does not enter valid input for a checkout 'Reason'"

KTS-3998
min_length not set in validator. Have rectified this and tested, issue no longer occurs.

Committed by: Donald Jackson
Reviewed by: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/branches/RB_3.5.4a@9686 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/KTDocumentActions.php
... ... @@ -440,6 +440,7 @@ class KTDocumentCheckOutAction extends KTDocumentAction {
440 440 $oForm->setValidators(array(
441 441 array('ktcore.validators.string', array(
442 442 'test' => 'reason',
  443 + 'min_length' => 1,
443 444 'max_length' => 250,
444 445 'output' => 'reason',
445 446 )),
... ...