Ticket #223 (closed Fehlermeldung: fixed)
Warnung beim Kommentieren
| Reported by: | robertb | Owned by: | driehle |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Kernfunktion | Version: | 1.1.3 |
| Keywords: | comment,mail,send | Cc: |
Description
Warning: Missing argument 1 for Jlog_Mail::send(), called in /…/htdocs/log.php on line 227 and defined in /…/htdocs/scripts/mail.class.php on line 262
Zeile 227 in der source:branches/1.1/log.php#1797 sieht bei Jlog 1.1.3 so aus:
while ($data = $comment_mail->fetch()) {
if($data['email'] != $com_form['email']) {
// set text for current user
$mail->setText($text . $data['email']);
$mail = $plugins->callHook('commentorMail', $mail, $blogentry);
// send mail
$mail->send();
}
}
Change History
Note: See
TracTickets for help on using
tickets.

Zeile 227 muss wie folgt abgeändert werden:
// send mail $mail->send($data['email']);