From 93be452053eeffe6f73db029c6b04d3e178aa96f Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Mon, 3 Mar 2025 11:53:47 +0000 Subject: [PATCH] fix processor not updating when null --- Civi/ContactCats/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/ContactCats/Processor.php b/Civi/ContactCats/Processor.php index a432fcd..c1912dc 100644 --- a/Civi/ContactCats/Processor.php +++ b/Civi/ContactCats/Processor.php @@ -119,7 +119,7 @@ class Processor { $changes = CRM_Core_DAO::executeQuery(<< category_definition_id $singleContactClause + WHERE (category_definition_id IS NULL OR next_category <> category_definition_id) $singleContactClause ORDER BY category_definition_id, next_category SQL); $lastChange = [0, 0];