mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Customer portal : Fixed external key validator. Could not contain '0'.
SVN:trunk[4199]
This commit is contained in:
@@ -29,7 +29,7 @@ use \Combodo\iTop\Form\Validator\Validator;
|
||||
class NotEmptyExtKeyValidator extends Validator
|
||||
{
|
||||
const VALIDATOR_NAME = 'notemptyextkey';
|
||||
const DEFAULT_REGEXP = '^[1-9]+$';
|
||||
const DEFAULT_REGEXP = '^[0-9]*[1-9][0-9]*$';
|
||||
const DEFAULT_ERROR_MESSAGE = 'Core:Validator:MustSelectOne';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user