diff options
-rw-r--r-- | engine/lib/notification.php | 4 |
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); } |