// Context part 30

This commit is contained in:
tDidierjean committed 2011-08-10 16:45:48 +00:00
1 parent 9c8fbcb1a0
commit a39d1e520a
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;