fix typo in sql for userId lookup, 8818

This commit is contained in:
Colin Kuskie 2008-10-13 16:26:51 +00:00
parent 1977dc62b7
commit 3119574e01
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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("<p>$pref</p><br />".$msg);