[-] BO : BugFix : #PSCFV-2260 : Admin in one shop can see categories from another shop

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15227 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-05-11 13:56:15 +00:00
parent 65d2eb5ff1
commit 0b8e21fc01
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ var id_category_root = 0;
function buildTreeView()
{
use_shop_context = 0;
if (buildTreeView.arguments[0])
if (buildTreeView.arguments[0] && buildTreeView.arguments[0] == 1)
use_shop_context = 1;
$("#categories-treeview").treeview({
url : 'ajax.php',