// Context part 5

This commit is contained in:
tDidierjean committed 2011-07-13 15:24:38 +00:00
1 parent cb3f2f7b52
commit b09c76f5b4
89 files changed
+417 -441

No files matched your search

+3 -1
View File
@@ -286,8 +286,10 @@ abstract class ModuleGraphCore extends Module
return call_user_func(array($render, 'hookGraphEngine'), $params, $drawer);
}
protected static function getEmployee($employee = null)
protected static function getEmployee($employee = null, $context = null)
{
if (!$context)
$context = Context::getContext();
if (!$employee)
$employee = $context->employee;