Skip to content

Commit

Permalink
LoggingConfigForm: correct syslog application prefix validation
Browse files Browse the repository at this point in the history
fixes #10781
  • Loading branch information
Al2Klimov committed Dec 9, 2015
1 parent c6f2783 commit ad3f6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/forms/Config/General/LoggingConfigForm.php
Expand Up @@ -73,7 +73,7 @@ public function createElements(array $formData)
'Regex',
false,
array(
'pattern' => '/^[^\W]+$/',
'pattern' => '/^\S+$/',
'messages' => array(
'regexNotMatch' => $this->translate(
'The application prefix must not contain whitespace.'
Expand Down

0 comments on commit ad3f6bb

Please sign in to comment.