fix typo in sql for userId lookup, 8818
This commit is contained in:
parent
1977dc62b7
commit
3119574e01
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue