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 committed by Arthur Schiwon
parent c101ad3a65
commit ccedb314a8
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

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