Skip to content

Commit fa57c0c

Browse files
cedric-annetrasher
authored andcommitted
Fix about version check
1 parent 13cb57d commit fa57c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/layout/parts/user_header.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ __('Close') }}"></button>
121121
</div>
122122
<div class="modal-body">
123-
{% if not call('\Glpi\Toolbox\VersionParser::isStableRelease', [constant('GLPI_VERSION')]) %}
123+
{% if not call('\\Glpi\\Toolbox\\VersionParser::isStableRelease', [constant('GLPI_VERSION')]) %}
124124
<div class='alert alert-important alert-warning d-flex'>
125125
<strong>⚠️ {{ __("This version is UNSTABLE and some SECURITY FIXES may not be included.") }} ⚠️</strong>
126126
</div>

0 commit comments

Comments
 (0)