Skip to content

Commit 7c1835b

Browse files
authored
Fix: Method call is provided 2 parameters, but the method signature uses 1 parameters (#1285)
1 parent 71f9038 commit 7c1835b

File tree

1 file changed

+2
-2
lines changed
  • app/code/core/Mage/Core/Model

1 file changed

+2
-2
lines changed

app/code/core/Mage/Core/Model/Url.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public function getBaseUrl($params = array())
413413
/**
414414
* Set Route Parameters
415415
*
416-
* @param array $data
416+
* @param array|string $data
417417
* @return $this
418418
*/
419419
public function setRoutePath($data)
@@ -1008,7 +1008,7 @@ public function getUrl($routePath = null, $routeParams = null)
10081008
if (is_string($query)) {
10091009
$this->setQuery($query);
10101010
} elseif (is_array($query)) {
1011-
$this->setQueryParams($query, !empty($routeParams['_current']));
1011+
$this->setQueryParams($query);
10121012
}
10131013
if ($query === false) {
10141014
$this->setQueryParams(array());

0 commit comments

Comments
 (0)