// Context part 25

This commit is contained in:
tDidierjean
2011-07-28 14:17:58 +00:00
parent b59d2200f6
commit e9ab32ab1a
55 changed files with 432 additions and 535 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ class AdminProfiles extends AdminTab
{
public function __construct()
{
$context = Context::getContext();
$this->context = Context::getContext();
$this->table = 'profile';
$this->className = 'Profile';
$this->lang = true;
@@ -42,7 +42,7 @@ class AdminProfiles extends AdminTab
$this->identifier = 'id_profile';
$list_profile = array();
foreach(Profile::getProfiles($context->language->id) as $profil)
foreach(Profile::getProfiles($this->context->language->id) as $profil)
$list_profile[] = array('value' => $profil['id_profile'], 'name' => $profil['name']);
parent::__construct();