Skip to content

Commit

Permalink
NavigationConfigForm: Do not validate an item's name
Browse files Browse the repository at this point in the history
refs #5600
refs #10151
  • Loading branch information
Johannes Meyer committed Sep 16, 2015
1 parent 19945d0 commit 50cdd0a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions application/forms/Navigation/NavigationConfigForm.php
Expand Up @@ -277,20 +277,6 @@ public function createElements(array $formData)
'label' => $this->translate('Name'),
'description' => $this->translate(
'The name of this navigation item that is used to differentiate it from others'
),
'validators' => array(
array(
'Regex',
false,
array(
'pattern' => '/^[^\\[\\]:]+$/',
'messages' => array(
'regexNotMatch' => $this->translate(
'The name cannot contain \'[\', \']\' or \':\'.'
)
)
)
)
)
)
);
Expand Down

0 comments on commit 50cdd0a

Please sign in to comment.