From ea92fc39b38be732020f9960314b7d04230811dc Mon Sep 17 00:00:00 2001 From: Hystepik Date: Fri, 14 Feb 2025 11:44:19 +0100 Subject: [PATCH] fix CI --- htdocs/website/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index fb9f5f3c214..7d49f372c83 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2033,7 +2033,7 @@ if ($action == "updatesecurity" && $usercanedit) { $res4 = dolibarr_set_const($db, 'WEBSITE_'.$object->id.'_SECURITY_FORCECSP', $securitysp, 'chaine', 0, '', $conf->entity); $res5 = dolibarr_set_const($db, 'WEBSITE_'.$object->id.'_SECURITY_FORCECSPRO', $securitycspro, 'chaine', 0, '', $conf->entity); - if ($res1 >= 0 && $res2 >= 0 && $res3 >= 0 && $res4 >= 0 && $res >= 0) { + if ($res1 >= 0 && $res2 >= 0 && $res3 >= 0 && $res4 >= 0 && $res5 >= 0) { $db->commit(); setEventMessages($langs->trans("Saved"), null, 'mesgs'); } else {