// Fix #PSFV-223

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12072 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-03 14:52:06 +00:00
parent 22f661d751
commit 6748479a85
@@ -2176,7 +2176,7 @@ class AdminProductsControllerCore extends AdminController
public function getPreviewUrl(Product $product)
{
if (!(bool)$this->context->shop->virtual_uri && $this->context->shop->theme_name != 'default')
if (!ShopUrl::getMainShopDomain())
return false;
$preview_url = $this->context->link->getProductLink(