aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:56:18 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:56:18 +0200
commitba045f003a8c50aaa42b139b0ed694e230348486 (patch)
tree1f90888e4af892f30b7c20333753d550ab0cb703 /mod
parentdabe15eb5403b58514aaa4729c39c94edb112c48 (diff)
downloadelgg-ba045f003a8c50aaa42b139b0ed694e230348486.tar.gz
elgg-ba045f003a8c50aaa42b139b0ed694e230348486.tar.bz2
fixed: wrong if statement in messages_send
Diffstat (limited to 'mod')
-rw-r--r--mod/messages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index 58636eea8..324abd59b 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -288,7 +288,7 @@ function messages_send($subject, $body, $send_to, $from = 0, $reply = 0, $notify
}
$message_contents = strip_tags($body);
- if ($send_to != elgg_get_logged_in_user_entity() && $notify) {
+ if (($send_to != elgg_get_logged_in_user_guid()) && $notify) {
$to_user = get_user($send_to);
$from_user = elgg_get_logged_in_user_entity();