OC_App::getAppVersion return blank if version is not specified

This commit is contained in:
Alessandro Cosentino 2012-08-04 13:39:36 -04:00
parent 226af11f33
commit a6ce497dd9
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class OC_App{
return trim($version);
}else{
$appData=self::getAppInfo($appid);
return $appData['version'];
return isset($appData['version'])? $appData['version'] : '';
}
}