Skip to content
Snippets Groups Projects
Verified Commit d058eda2 authored by Damien's avatar Damien
Browse files

FEAT #13678 TIME 0:20 Notifications properties fix

parent 7d179e00
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,10 @@ foreach ($customs as $custom) {
$users = array_column($users, 'id');
if (!empty($users)) {
$users = implode(',', $users);
\Notification\models\NotificationModel::update(['notification_sid' => $notification['notification_sid'], 'diffusion_properties' => $users]);
} else {
$users = null;
}
\Notification\models\NotificationModel::update(['notification_sid' => $notification['notification_sid'], 'diffusion_properties' => $users]);
}
}
$migrated++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment