// Context part 30

This commit is contained in:
tDidierjean
2011-08-10 16:45:48 +00:00
parent 9c8fbcb1a0
commit a39d1e520a
7 changed files with 73 additions and 72 deletions
+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;