// 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:
vChabot
2012-03-28 12:46:13 +00:00
parent 6d3cb5ee76
commit 90d6b62d8a
+1 -5
View File
@@ -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);
}