Ticket #223 (closed Fehlermeldung: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by driehle

Zeile 227 muss wie folgt abgeändert werden:

        // send mail
        $mail->send($data['email']);

comment:2 Changed 3 years ago by driehle

  • Owner set to driehle
  • Status changed from new to assigned

comment:3 Changed 3 years ago by driehle

  • Status changed from assigned to closed
  • Resolution set to fixed

Mit [1802] im 1.1 Branch eingespielt.

Note: See TracTickets for help on using tickets.