mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-26 00:08:04 +02:00
Accomodate new contacts in flow chart
This commit is contained in:
parent
216d9a46ee
commit
d5ee875aef
3 changed files with 11 additions and 10 deletions
|
@ -306,7 +306,7 @@ class GetFlows extends \Civi\Api4\Generic\AbstractAction {
|
|||
// Don't use exchange array so as not to gazump non-array data(?)
|
||||
foreach ($data as $row) {
|
||||
$result[] = [
|
||||
'from_category_id' => (int) (($row['from_category_id']) ?: $defaultCategoryId),
|
||||
'from_category_id' => (int) (($row['from_category_id'])), // ?: $defaultCategoryId,
|
||||
'to_category_id' => (int) $row['to_category_id'],
|
||||
'contact_count' => (int) $row['contact_count'],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue