diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index da8858682..30fbf9f62 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -44,6 +44,7 @@ - added RFE #480: Apply button for assets - fixed #8807: _NewAsset.skeleton out of date - added: "Duplicate this template and edit" now updates the asset we came from, if any + - fixed #8818: Visitor sends a welcome message 7.6.0 - added: users may now customize the post received page for the CS diff --git a/lib/WebGUI/Inbox/Message.pm b/lib/WebGUI/Inbox/Message.pm index c0ae4c81b..1e39be6b0 100644 --- a/lib/WebGUI/Inbox/Message.pm +++ b/lib/WebGUI/Inbox/Message.pm @@ -115,7 +115,7 @@ sub create { if (defined $mail) { my $i18n = WebGUI::International->new($session, 'Inbox_Message'); my $pref = $i18n->get("from user preface"); - $pref .= $session->db->quickScalar("SELECT username FROM users WHERE userid = ?",[$properties->{sentBy}]). "."; + $pref .= $session->db->quickScalar("SELECT username FROM users WHERE userId = ?",[$properties->{sentBy}]). "."; my $msg = (defined $properties->{emailMessage}) ? $properties->{emailMessage} : $self->{_properties}{message}; if ($msg =~ m/\<.*\>/) { $mail->addHtml("
$pref