aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 11:25:50 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 11:25:50 +0000
commit4f23d26643369ff8af274b0977ddea78cad2663b (patch)
tree140647495efe89963237bdfa07a88055b7a4f76a /engine/lib/notification.php
parentdb25d1430b15495445dc45cc5125cb25f649a794 (diff)
downloadelgg-4f23d26643369ff8af274b0977ddea78cad2663b.tar.gz
elgg-4f23d26643369ff8af274b0977ddea78cad2663b.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Belts and braces git-svn-id: https://code.elgg.org/elgg/trunk@792 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/notification.php')
-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");
}