// fix bug display message error or success in AdminAccessController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10326 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-11-21 10:11:38 +00:00
parent 792452c2e0
commit c47131aa9f
4 changed files with 33 additions and 12 deletions
+2 -2
View File
@@ -1022,7 +1022,7 @@ if (Tools::isSubmit('submitAddAccess'))
AND `id_profile` = '.(int)$id_profile
);
$res = $res?'ok':'error';
die(Tools::jsonEncode($res));
die($res);
}
/* Update Access Modules */
@@ -1056,6 +1056,6 @@ if (Tools::isSubmit('changeModuleAccess'))
}
$res = $res?'ok':'error';
die(Tools::jsonEncode($res));
die($res);
}