Merge pull request #9525 from nextcloud/backport/8504/stable13
[stable13] Dont use $info as array when its not an array
This commit is contained in:
commit
bae5ec5cb0
|
@ -112,7 +112,7 @@ class Installer {
|
||||||
if(!is_array($info)) {
|
if(!is_array($info)) {
|
||||||
throw new \Exception(
|
throw new \Exception(
|
||||||
$l->t('App "%s" cannot be installed because appinfo file cannot be read.',
|
$l->t('App "%s" cannot be installed because appinfo file cannot be read.',
|
||||||
[$info['name']]
|
[$appId]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue