// refactoring

This commit is contained in:
vChabot
2012-03-28 12:46:13 +00:00
parent 0f68313562
commit de7778998d
+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);
}