From 4f23d26643369ff8af274b0977ddea78cad2663b Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 4 Jun 2008 11:25:50 +0000 Subject: Marcus Povey * Belts and braces git-svn-id: https://code.elgg.org/elgg/trunk@792 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/notification.php') 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"); } -- cgit v1.2.3