From c465a5c8daf9ae3e73a2eef4cb7fe3839ebb8d33 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 22 Oct 2025 18:28:00 +0200 Subject: [PATCH] Fix CI --- htdocs/core/lib/ajax.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/lib/ajax.lib.php b/htdocs/core/lib/ajax.lib.php index ff716db81f9..15354358c27 100644 --- a/htdocs/core/lib/ajax.lib.php +++ b/htdocs/core/lib/ajax.lib.php @@ -689,6 +689,8 @@ function ajax_constantonoff($code, $input = array(), $entity = null, $revertonof $input = array(); } + $out = ''; + if (empty($conf->use_javascript_ajax) || $forcenoajax) { if (!getDolGlobalString($code)) { $out = ''.img_picto($langs->trans("Disabled"), 'off').'';