Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.3
-
Fix Version/s: 1.0.4
-
Component/s: Zend_Controller
-
Labels:None
-
Fix Version Priority:Must Have
Description
Variable $keyName is never used. Should be $key (or the other way around):
public function setParam($key, $value) { $keyName = (null !== ($alias = $this->getAlias($key))) ? $alias : $key; parent::setParam($key, $value); return $this; }
Additionally there seems to be no test that covers the case of aliasing a key and setting a parameter for it.