// Context part 30
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8008 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ abstract class ModuleCore
|
||||
*/
|
||||
public function __construct($name = null, Context $context = null)
|
||||
{
|
||||
$this->context = ($context) ? $context : Context::getContext();
|
||||
$this->context = $context ? $context : Context::getContext();
|
||||
|
||||
if ($this->name == NULL)
|
||||
$this->name = $this->id;
|
||||
|
||||
Reference in New Issue
Block a user