Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.0
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Controller
-
Labels:None
Description
Here is a working version that does not ignore paramSources:
public function getParams()
{
$return = $this->_params;
$paramSources = $this->getParamSources();
if (in_array('_GET', $paramSources) && isset($_GET) && is_array($_GET)) {
$return += $_GET;
}
if (in_array('_POST', $paramSources) && isset($_POST) && is_array($_POST)) {
$return += $_POST;
}
return $return;
}
I agree