// 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:
tDidierjean committed 2011-08-10 16:45:48 +00:00
1 parent 183e1289c4
commit 7c67fd84c2
7 files changed
+73 -72

No files matched your search

+1 -1
View File
@@ -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;