Merge pull request #8504 from nextcloud/bugfix/noid/well-its-not-an-array

Dont use $info as array when its not an array
This commit is contained in:
Roeland Jago Douma 2018-02-26 13:44:57 +01:00 committed by GitHub
commit 0c4c3676f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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