mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 09:48:05 +02:00
fix processor not updating when null
This commit is contained in:
parent
b9de61f9f7
commit
93be452053
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class Processor {
|
|||
$changes = CRM_Core_DAO::executeQuery(<<<SQL
|
||||
SELECT id, category_definition_id, next_category
|
||||
FROM civicrm_contact_category
|
||||
WHERE next_category <> 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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue