diff --git a/ajax/loadscripts.php b/ajax/loadscripts.php index 8a6152b393..bc86c02254 100644 --- a/ajax/loadscripts.php +++ b/ajax/loadscripts.php @@ -47,7 +47,7 @@ $urgency_ids = $config->getUrgency_ids(); $use_duration_solution = $config->useDurationSolution(); - $params = array('root_doc' => $CFG_GLPI['root_doc'], + $params = ['root_doc' => $CFG_GLPI['root_doc'], 'waiting' => CommonITILObject::WAITING, 'closed' => CommonITILObject::CLOSED, 'use_waiting' => $use_waiting, @@ -56,7 +56,7 @@ 'glpilayout' => $_SESSION['glpilayout'], 'use_urgency' => $use_urgency, 'urgency_ids' => $urgency_ids, - 'div_kb' => Session::haveRight('knowbase', UPDATE)); + 'div_kb' => Session::haveRight('knowbase', UPDATE)]; echo "