From ca80408c1df97a1ba625a386892ecf9fd588b79f Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 11 Aug 2015 16:18:37 -0500 Subject: [PATCH] Rename lang variable - refs BT#10139 --- main/inc/lib/formvalidator/FormValidator.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/inc/lib/formvalidator/FormValidator.class.php b/main/inc/lib/formvalidator/FormValidator.class.php index 2919d127a2..bed6af76da 100755 --- a/main/inc/lib/formvalidator/FormValidator.class.php +++ b/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]+$/' );