[-] Project : #PSFV-781 - Profile and access cannot be managed by SHOP

This commit is contained in:
mDeflotte
2012-04-03 15:14:09 +00:00
parent 49946ada4c
commit f2423aa235
2 changed files with 11 additions and 9 deletions
+4 -3
View File
@@ -35,9 +35,10 @@ class AdminAccessControllerCore extends AdminController
public function __construct()
{
$this->table = 'access';
$this->table = 'access';
$this->className = 'Profile';
$this->lang = false;
$this->multishop_context = Shop::CONTEXT_ALL;
$this->lang = false;
$this->context = Context::getContext();
// Blacklist AdminLogin
@@ -235,6 +236,6 @@ class AdminAccessControllerCore extends AdminController
*/
public function getCurrentProfileId()
{
return (isset($_GET['id_profile']) && !empty($_GET['id_profile']) && is_numeric($_GET['id_profile'])) ? (int)$_GET['id_profile'] : 1;
return (isset($_GET['id_profile']) && !empty($_GET['id_profile']) && is_numeric($_GET['id_profile'])) ? (int)$_GET['id_profile'] : 1;
}
}