We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f9038 commit 7c1835bCopy full SHA for 7c1835b
app/code/core/Mage/Core/Model/Url.php
@@ -413,7 +413,7 @@ public function getBaseUrl($params = array())
413
/**
414
* Set Route Parameters
415
*
416
- * @param array $data
+ * @param array|string $data
417
* @return $this
418
*/
419
public function setRoutePath($data)
@@ -1008,7 +1008,7 @@ public function getUrl($routePath = null, $routeParams = null)
1008
if (is_string($query)) {
1009
$this->setQuery($query);
1010
} elseif (is_array($query)) {
1011
- $this->setQueryParams($query, !empty($routeParams['_current']));
+ $this->setQueryParams($query);
1012
}
1013
if ($query === false) {
1014
$this->setQueryParams(array());
0 commit comments