From 12fb8e8c876248c812cf89c28107d85787b10125 Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 20 Feb 2011 17:13:31 +0000 Subject: Refs #2617, #2956: Merged email notification exception message fix in r7926 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@8361 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/notification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/notification.php') diff --git a/engine/lib/notification.php b/engine/lib/notification.php index b48fec2fe..0754d683a 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -292,12 +292,12 @@ function elgg_send_email($from, $to, $subject, $body, array $params = NULL) { global $CONFIG; if (!$from) { - $msg = elgg_echo('NotificationException:NoEmailAddress', array('from')); + $msg = elgg_echo('NotificationException:MissingParameter', array('from')); throw new NotificationException($msg); } if (!$to) { - $msg = elgg_echo('NotificationException:NoEmailAddress', array('to')); + $msg = elgg_echo('NotificationException:MissingParameter', array('to')); throw new NotificationException($msg); } -- cgit v1.2.3