mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 12:58: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
|
$changes = CRM_Core_DAO::executeQuery(<<<SQL
|
||||||
SELECT id, category_definition_id, next_category
|
SELECT id, category_definition_id, next_category
|
||||||
FROM civicrm_contact_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
|
ORDER BY category_definition_id, next_category
|
||||||
SQL);
|
SQL);
|
||||||
$lastChange = [0, 0];
|
$lastChange = [0, 0];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue