diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-17 15:25:24 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-02-17 16:05:13 +0100 |
commit | 9dc3b0480228a3c35b3b7a7cb1a904006f7e0762 (patch) | |
tree | d432bd59aa7d4b87c14835b29973a0e829370e5c /lib/private/Installer.php | |
parent | edee243b27f7d042998fd840d0b0f75548e3c489 (diff) | |
download | nextcloud-server-9dc3b0480228a3c35b3b7a7cb1a904006f7e0762.tar.gz nextcloud-server-9dc3b0480228a3c35b3b7a7cb1a904006f7e0762.zip |
Fix app version to be always string and neither array nor null
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index f382a923401..8a8ece82077 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -112,7 +112,7 @@ class Installer { ); } - $version = \OCP\Util::getVersion(); + $version = implode('.', \OCP\Util::getVersion()); if (!\OC_App::isAppCompatible($version, $info)) { throw new \Exception( // TODO $l |