// refactoring
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14331 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-5
@@ -122,11 +122,7 @@ class LinkCore
|
||||
$cats[] = $cat['link_rewrite'];
|
||||
$params['categories'] = implode('/', $cats);
|
||||
}
|
||||
|
||||
if ($ipa)
|
||||
$anchor = $product->getAnchor($ipa);
|
||||
else
|
||||
$anchor = '';
|
||||
$anchor = $ipa ? $product->getAnchor($ipa) : '';
|
||||
|
||||
return $url.$dispatcher->createUrl('product_rule', $params, $this->allow, $anchor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user