diff --git a/extension/lite/attend/ext/view/stat.oa.html.hook.php b/extension/lite/attend/ext/view/stat.oa.html.hook.php index 80add58d8e..c5c67c3735 100644 --- a/extension/lite/attend/ext/view/stat.oa.html.hook.php +++ b/extension/lite/attend/ext/view/stat.oa.html.hook.php @@ -1,3 +1,3 @@ getExtensionRoot().'/biz/attend/ext/view/stat.oa.html.hook.php'; +include $app->getExtensionRoot() . '/biz/attend/ext/view/stat.oa.html.hook.php'; ?> \ No newline at end of file diff --git a/extension/lite/kanban/ext/view/view.lite.html.hook.php b/extension/lite/kanban/ext/view/view.lite.html.hook.php new file mode 100644 index 0000000000..77f9eb2951 --- /dev/null +++ b/extension/lite/kanban/ext/view/view.lite.html.hook.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/extension/lite/project/ext/view/execution.html.php b/extension/lite/project/ext/view/execution.html.php index 7cd26c33f0..ca24aa6403 100644 --- a/extension/lite/project/ext/view/execution.html.php +++ b/extension/lite/project/ext/view/execution.html.php @@ -47,8 +47,8 @@ { if(common::hasPriv('execution', $view)) { - $kanbanview = $view; - break; + $kanbanview = $view; + break; } } } diff --git a/module/program/model.php b/module/program/model.php index a875011a50..f7f4f5bb8b 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -242,9 +242,11 @@ class programModel extends model $product->plans = zget($plans, $product->id, array()); /* Convert predefined HTML entities to characters. */ - !empty($product->plans) && array_map(function($planVal){ - return $planVal->title = htmlspecialchars_decode($planVal->title,ENT_QUOTES); - },$product->plans); + !empty($product->plans) && array_map(function($planVal) + { + return $planVal->title = htmlspecialchars_decode($planVal->title, ENT_QUOTES); + }, + $product->plans); $product->releases = zget($releases, $product->id, array()); $projects = zget($projectGroup, $product->id, array());