diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-04 13:39:36 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-04 13:39:36 -0400 |
commit | a6ce497dd932fc013301e433c635c6286fffe513 (patch) | |
tree | d23694d1755fee970cb8e506126eeac5655809f2 /lib/app.php | |
parent | 226af11f33e90305d20e0ac3c5fce223b3f98263 (diff) | |
download | nextcloud-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-x | lib/app.php | 2 |
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'] : ''; } } |