Skip to content

Commit d50b538

Browse files
committed
fix: correctly sort notification queue
1 parent a16afde commit d50b538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/ColdTrick/EventManager/Notifications/CreateEventEventHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public static function enqueueDelayedNotifications(\Elgg\Event $elgg_event) {
118118
'name' => 'notification_queued_ts',
119119
'value' => \Elgg\Values::normalizeTime(gmdate('c', $elgg_event->getParam('time')))->setTime(0, 0, 0)->modify('+1 days')->getTimestamp(), // keep inline with scheduling but add 1 day
120120
'operand' => '<',
121-
'as' => ELGG_VALUE_INTEGER,
121+
'type' => ELGG_VALUE_INTEGER,
122122
],
123123
],
124124
'wheres' => [

0 commit comments

Comments
 (0)