Dont use $info as array when its not an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c101ad3a65
commit
ccedb314a8
|
@ -112,7 +112,7 @@ class Installer {
|
|||
if(!is_array($info)) {
|
||||
throw new \Exception(
|
||||
$l->t('App "%s" cannot be installed because appinfo file cannot be read.',
|
||||
[$info['name']]
|
||||
[$appId]
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue