From cbf6cd352e23a6b04bdce66f9b17559fcd83b6e7 Mon Sep 17 00:00:00 2001 From: vChabot Date: Mon, 28 May 2012 13:52:36 +0000 Subject: [PATCH] // remove var dump git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15712 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Link.php b/classes/Link.php index e30d94871..4ffd496f4 100644 --- a/classes/Link.php +++ b/classes/Link.php @@ -532,7 +532,7 @@ class LinkCore { if (!$context) $context = Context::getContext(); - var_dump(Language::isMultiLanguageActivated()); + if (!$this->allow || !Language::isMultiLanguageActivated()) return '';