Переглянути джерело

Keep backward compatibility with *old* config files without the 'webservices' entry in the config-file.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@983 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 роки тому
батько
коміт
12e90fd8c6
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      core/config.class.inc.php

+ 1 - 1
core/config.class.inc.php

@@ -409,7 +409,7 @@ class Config
 		}
 		$this->m_aAppModules = $MyModules['application'];
 		$this->m_aDataModels = $MyModules['business'];
-		$this->m_aWebServiceCategories = $MyModules['webservices'];
+		$this->m_aWebServiceCategories = isset($MyModules['webservices']) ? $MyModules['webservices'] : array();
 		$this->m_aAddons = $MyModules['addons'];
 		$this->m_aDictionaries = $MyModules['dictionaries'];