mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
OC_App::getAppVersion return blank if version is not specified
This commit is contained in:
parent
226af11f33
commit
a6ce497dd9
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ class OC_App{
|
|||
return trim($version);
|
||||
}else{
|
||||
$appData=self::getAppInfo($appid);
|
||||
return $appData['version'];
|
||||
return isset($appData['version'])? $appData['version'] : '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue