LSsession :: addHelpInfos() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:35:44 +01:00
parent 5f8db76d52
commit 9a4e7374d0

View file

@ -2145,7 +2145,7 @@ class LSsession {
*/
public static function addHelpInfos($group,$infos) {
if (is_array($infos)) {
if (is_array(self :: $_JSconfigParams['helpInfos'][$group])) {
if (isset(self :: $_JSconfigParams['helpInfos'][$group]) && is_array(self :: $_JSconfigParams['helpInfos'][$group])) {
self :: $_JSconfigParams['helpInfos'][$group] = array_merge(self :: $_JSconfigParams['helpInfos'][$group],$infos);
}
else {