aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 17:13:31 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 17:13:31 +0000
commit12fb8e8c876248c812cf89c28107d85787b10125 (patch)
tree9c0c7d183491005c093d30c917105eb8f0e210b3 /engine/lib
parent0c39a76b1957944af7fec7c3c7277bf394fc96e8 (diff)
downloadelgg-12fb8e8c876248c812cf89c28107d85787b10125.tar.gz
elgg-12fb8e8c876248c812cf89c28107d85787b10125.tar.bz2
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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/notification.php4
1 files changed, 2 insertions, 2 deletions
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);
}