Browse Source

Rename lang variable - refs BT#10139

Angel Fernando Quiroz Campos 9 years ago
parent
commit
ca80408c1d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main/inc/lib/formvalidator/FormValidator.class.php

+ 3 - 3
main/inc/lib/formvalidator/FormValidator.class.php

@@ -1145,7 +1145,7 @@ EOT;
             $attributes,
             [
                 'pattern' => '[a-zA-ZñÑ\s]+',
-                'title' => get_lang('OnlyLettersAndSpace')
+                'title' => get_lang('OnlyLettersAndSpaces')
             ]
         );
 
@@ -1154,7 +1154,7 @@ EOT;
             $name,
             [
                 $label,
-                get_lang('OnlyLettersAndSpace')
+                get_lang('OnlyLettersAndSpaces')
             ],
             $attributes
         );
@@ -1167,7 +1167,7 @@ EOT;
 
         $this->addRule(
             $name,
-            get_lang('OnlyLettersAndSpace'),
+            get_lang('OnlyLettersAndSpaces'),
             'regex',
             '/^[a-zA-ZñÑ\s]+$/'
         );