diff options
author | rhyst <5313660+rhyst@users.noreply.github.com> | 2022-10-21 08:39:51 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2022-10-22 14:31:01 +0200 |
commit | a9771c27a922aaff5d5ff67633d35dc42a5eb4e4 (patch) | |
tree | ef7d28b82ca936a01cebcd6ca492a5e1dda0e5a0 /templates | |
parent | 031a1726cfa4926c6250cfd8f7a55f5437ccd6a5 (diff) |
Use correct PHP tag for rendering version
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: rhyst <5313660+rhyst@users.noreply.github.com>
Signed-off-by: Rhys Tyers <mail@rhy.si>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.php b/templates/index.php index fc1f1382b..52f5bd54b 100644 --- a/templates/index.php +++ b/templates/index.php @@ -70,8 +70,8 @@ foreach (Plugin::getScripts() as $appName => $fileName) { </div> <div id="app-content" - class="nc-major-version-<?php print \OCP\Util::getVersion()[0] ?>" - data-nc-major-version="<?php print \OCP\Util::getVersion()[0] ?>" + class="nc-major-version-<?= \OCP\Util::getVersion()[0]; ?>" + data-nc-major-version="<?= \OCP\Util::getVersion()[0]; ?>" ng-class="{ 'loading-content': App.loading.isLoading('content') && !App.loading.isLoading('global'), |