From 03a9883f1865eccb9a2156e15c9b61ce62210446 Mon Sep 17 00:00:00 2001 From: David Durieux Date: Tue, 20 Feb 2024 09:58:31 +0100 Subject: [PATCH] Fix lint --- inc/rulecollection.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/rulecollection.class.php b/inc/rulecollection.class.php index 5a57d973ac..5a9c1b7f64 100644 --- a/inc/rulecollection.class.php +++ b/inc/rulecollection.class.php @@ -911,7 +911,7 @@ static function exportRulesToXML($items = []) { $available_criteria = $rule->getCriterias(); $crit = $criteria['criteria']; if (self::isCriteraADropdown($available_criteria, $criteria['condition'], $crit)) { - $criteria['pattern'] + $criteria['pattern'] = Html::clean(Dropdown::getDropdownName($available_criteria[$crit]['table'], $criteria['pattern'])); }