aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/notification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index f8b41cdd1..c3bfb0745 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -77,7 +77,7 @@
foreach ($to as $guid)
{
foreach ($method as $m)
- if (!$NOTIFICATION_HANDLERS[$m]($guid, sanitise_string($m), $params))
+ if (!$NOTIFICATION_HANDLERS[$m]((int)$guid, sanitise_string($m), $params))
throw new NotificationException("There was an error while notifying $guid");
}