Ticket #2312 (closed バグ指摘: 修正済)

Opened 10 years ago

Last modified 10 years ago

SC_Helper_Mail::sfMakeSubject()の引数が足りなくてWarningが出る

Reported by: shutta Owned by: shutta
Priority: Milestone: EC-CUBE2.13.0
Component: その他 Version: 2.12.5
Keywords: Cc:
修正済み: yes

Description

コミュニティにて、下記のご報告を頂いた。

会員登録時の引数が足らないというWarning
 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=13072&forum=10

2.12.5で会員登録時に、以下のwarningが出ます。

2013/07/29 18:08:58 [/entry/index.php] Warning(E_WARNING): Missing argument 2 for SC_Helper_Mail::sfMakeSubject(), called in /home/xxxxx/public_html/data/class/pages/entry/LC_Page_Entry.php on line 251 and defined on [/home/xxxxxxx/public_html/data/class/helper/SC_Helper_Mail.php(250)] from xxx.xxx.xxx.xxx

確かに、SC_Helper_Mail.phpの250行をみると、function sfMakeSubject($subject, &$objMailView) { と引数が2つあるのですが、LC_Page_Entry.phpの251行をみると $subject = $objHelperMail->sfMakeSubject('会員登録のご完了'); と引数が1つです。

これはこれで良いのでしょうか?

Change History

comment:1 Changed 10 years ago by shutta

  • Owner changed from somebody to shutta
  • Status changed from new to assigned

comment:2 Changed 10 years ago by shutta

  • 修正済み set

r23008 にて修正しました。

comment:3 Changed 10 years ago by h_yoshimoto

  • Status changed from assigned to closed
  • Resolution set to 修正済

ご対応ありがとうございました。

クローズさせて頂きます。

Note: See TracTickets for help on using tickets.