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:
Morris Jobke 2018-05-22 16:33:04 +02:00 committed by GitHub
commit bae5ec5cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]
)
);
}