summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-04 13:39:36 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-04 13:39:36 -0400
commita6ce497dd932fc013301e433c635c6286fffe513 (patch)
treed23694d1755fee970cb8e506126eeac5655809f2 /lib/app.php
parent226af11f33e90305d20e0ac3c5fce223b3f98263 (diff)
downloadnextcloud-server-a6ce497dd932fc013301e433c635c6286fffe513.tar.gz
nextcloud-server-a6ce497dd932fc013301e433c635c6286fffe513.zip
OC_App::getAppVersion return blank if version is not specified
Diffstat (limited to 'lib/app.php')
-rwxr-xr-xlib/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php
index d1018c37aa7..2e9ec4d6308 100755
--- a/lib/app.php
+++ b/lib/app.php
@@ -394,7 +394,7 @@ class OC_App{
return trim($version);
}else{
$appData=self::getAppInfo($appid);
- return $appData['version'];
+ return isset($appData['version'])? $appData['version'] : '';
}
}