Browse Source

[ZF-7750]Undefined variable in Zend_Controller_Action_HelperBroker_PriorityStack

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17946 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 years ago
parent
commit
a5505004cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/Controller/Action/HelperBroker/PriorityStack.php

+ 1 - 1
library/Zend/Controller/Action/HelperBroker/PriorityStack.php

@@ -118,7 +118,7 @@ class Zend_Controller_Action_HelperBroker_PriorityStack implements IteratorAggre
     {
     {
         if (!$this->offsetExists($priorityOrHelperName)) {
         if (!$this->offsetExists($priorityOrHelperName)) {
             require_once 'Zend/Controller/Action/Exception.php';
             require_once 'Zend/Controller/Action/Exception.php';
-            throw new Zend_Controller_Action_Exception('A helper with priority ' . $priority . ' does not exist.');
+            throw new Zend_Controller_Action_Exception('A helper with priority ' . $priorityOrHelperName . ' does not exist.');
         }
         }
 
 
         if (is_string($priorityOrHelperName)) {
         if (is_string($priorityOrHelperName)) {