diff --git a/app/inc/smarty.php b/app/inc/smarty.php
index a466bd8f05f0971650c02ad82093081df478785b..c265bf181a22d99656e7ca3b536e1c04b641e9e1 100644
--- a/app/inc/smarty.php
+++ b/app/inc/smarty.php
@@ -29,7 +29,7 @@ $smarty->assign('APPLICATION_NAME', NOMAPPLICATION);
 $smarty->assign('SERVER_URL', Utils::get_server_name());
 $smarty->assign('SCRIPT_NAME', $_SERVER['SCRIPT_NAME']);
 $smarty->assign('TITLE_IMAGE', IMAGE_TITRE);
-$smarty->assign('use_nav_js', strstr($_SERVER['SERVER_NAME'], 'framadate.org');
+$smarty->assign('use_nav_js', strstr($_SERVER['SERVER_NAME'], 'framadate.org'));
 $smarty->assign('locale', $locale);
 $smarty->assign('langs', $ALLOWED_LANGUAGES);
 $smarty->assign('date_format', $date_format);
@@ -67,4 +67,4 @@ function smarty_modifier_resource($link) {
 
 function smarty_modifier_html($html) {
     return Utils::htmlEscape($html);
-}
+}
\ No newline at end of file