Dont use $info as array when its not an array

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-02-22 14:43:56 +01:00
parent c2c2c06546
commit 1aa846107d
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA

View file

@ -107,7 +107,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]
)
);
}