소스 검색

fix ZF-8268

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19278 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas 16 년 전
부모
커밋
63f7b65b6f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      library/Zend/Form/Decorator/Captcha/Word.php

+ 1 - 1
library/Zend/Form/Decorator/Captcha/Word.php

@@ -57,7 +57,7 @@ class Zend_Form_Decorator_Captcha_Word extends Zend_Form_Decorator_Abstract
 
         $label = $element->getDecorator("Label");
         if($label) {
-            $label->setOption("id", "$name-input");
+            $label->setOption("id", $element->getId()."-input");
         }
 
         $placement = $this->getPlacement();