From fe3782dfef2d7b7676a8c632e30a1007afdaac4f Mon Sep 17 00:00:00 2001 From: donald_jackson Date: Thu, 11 Dec 2008 09:20:50 +0000 Subject: [PATCH] "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. --- plugins/ktcore/KTDocumentActions.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/plugins/ktcore/KTDocumentActions.php b/plugins/ktcore/KTDocumentActions.php index 5fe720d..d254a3e 100644 --- a/plugins/ktcore/KTDocumentActions.php +++ b/plugins/ktcore/KTDocumentActions.php @@ -440,6 +440,7 @@ class KTDocumentCheckOutAction extends KTDocumentAction { $oForm->setValidators(array( array('ktcore.validators.string', array( 'test' => 'reason', + 'min_length' => 1, 'max_length' => 250, 'output' => 'reason', )), -- libgit2 0.21.4