Fixed GUID string comparisons (eq instead of ==)

This commit is contained in:
Patrick Donelan 2009-08-23 07:44:41 +00:00
parent 280e902c09
commit f3c3bfb4dc
4 changed files with 4 additions and 4 deletions

View file

@ -1343,7 +1343,7 @@ sub www_sendMessageSave {
my $user = WebGUI::User->new($session, $uid);
# Sender only gets CCd on inbox message (not real email)
my $isSender = $uid == $session->user->userId;
my $isSender = $uid eq $session->user->userId;
$messageOptions->{no_email} = 1 if $isSender;
# Optionally set SMS notification details (excluding sender)