From 3d6121ea89fb9f19db337bd3153da480e47be7d5 Mon Sep 17 00:00:00 2001 From: Josh Pratt Date: Wed, 3 Oct 2012 12:51:33 +0000 Subject: [PATCH] Fixed camel case issue with resource validation for backend menu items --- app/code/core/Mage/Backend/Model/Menu/Item/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/Backend/Model/Menu/Item/Validator.php b/app/code/core/Mage/Backend/Model/Menu/Item/Validator.php index c65b3108b7938..add8fae1e8ebe 100644 --- a/app/code/core/Mage/Backend/Model/Menu/Item/Validator.php +++ b/app/code/core/Mage/Backend/Model/Menu/Item/Validator.php @@ -71,7 +71,7 @@ public function __construct() $resourceValidator = new Zend_Validate(); $resourceValidator->addValidator(new Zend_Validate_StringLength(array('min' => 8))); $resourceValidator->addValidator( - new Zend_Validate_Regex('/^[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}$/') + new Zend_Validate_Regex('/^[A-Z]+[A-Za-z0-9]{1,}_[A-Z]+[A-Za-z0-9]{1,}::[A-Za-z_0-9]{1,}$/') ); $attributeValidator = new Zend_Validate();