diff options
-rw-r--r-- | lib/private/TemplateLayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index e4978916ec3..0542c25d46c 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -351,7 +351,7 @@ class TemplateLayout extends \OC_Template { $appVersion = $this->appManager->getAppVersion($appId); // For shipped apps the app version is not a single source of truth, we rather also need to consider the Nextcloud version - if ($this->appManager->isShipped($appId)) { + if ($this->appManager->isShipped($appId) || $appVersion === '0') { $appVersion .= '-' . self::$versionHash; } |