Skip to content

Commit

Permalink
Update thankyoulike.php
Browse files Browse the repository at this point in the history
Fixed parsed message error with special chars...
  • Loading branch information
WhiteNeo committed Jul 8, 2015
1 parent a45437b commit f46a947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/plugins/thankyoulike.php
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ function tyl_recordAlertThankyou()
array(
'tid' => $tid,
'pid' => $pid,
't_subject' => $db->escape_string($subject),
't_subject' => $subject,
'fid' => $fid
));
MybbStuff_MyAlerts_AlertManager::getInstance()->addAlert($alert);
Expand All @@ -1002,7 +1002,7 @@ public function formatAlert(MybbStuff_MyAlerts_Entity_Alert $alert, array $outpu
return $this->lang->sprintf(
$this->lang->tyl_alert,
$outputAlert['from_user'],
htmlspecialchars_uni($alertContent['t_subject'])
$alertContent['t_subject']
);
}

Expand Down

1 comment on commit f46a947

@Eldenroot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WhiteNeo - looks good to me! thx

Please sign in to comment.