finetune the appinfo parser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
c55583d1b4
commit
9db3b04f1b
|
@ -165,7 +165,10 @@ class InfoParser {
|
||||||
if (isset($array['activity']['providers']['provider']) && is_array($array['activity']['providers']['provider'])) {
|
if (isset($array['activity']['providers']['provider']) && is_array($array['activity']['providers']['provider'])) {
|
||||||
$array['activity']['providers'] = $array['activity']['providers']['provider'];
|
$array['activity']['providers'] = $array['activity']['providers']['provider'];
|
||||||
}
|
}
|
||||||
if (isset($array['collaboration']['collaborators']['searchPlugins']['searchPlugin']) && is_array($array['collaboration']['collaborators']['searchPlugins']['searchPlugin'])) {
|
if (isset($array['collaboration']['collaborators']['searchPlugins']['searchPlugin'])
|
||||||
|
&& is_array($array['collaboration']['collaborators']['searchPlugins']['searchPlugin'])
|
||||||
|
&& !isset($array['collaboration']['collaborators']['searchPlugins']['searchPlugin']['class'])
|
||||||
|
) {
|
||||||
$array['collaboration']['collaborators']['searchPlugins'] = $array['collaboration']['collaborators']['searchPlugins']['searchPlugin'];
|
$array['collaboration']['collaborators']['searchPlugins'] = $array['collaboration']['collaborators']['searchPlugins']['searchPlugin'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue