OC_App::getAppVersion return blank if version is not specified
This commit is contained in:
parent
226af11f33
commit
a6ce497dd9
|
@ -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 New Issue