Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#387 Sender doesn't get. Invalid use of strlen

5.1
closed
nobody
None
5
2013-03-03
2011-02-22
Anonymous
No

The line:
if ($this->Sender != '' && strlen(ini_get('safe_mode'))< 1) {

Should be:
if ($this->Sender != '' && ini_get('safe_mode')< 1) {

ini_get('safe_mode') will return 0 for off, and 1 for on. Therefore, the length will always be 1.

Discussion

  •  
    Attachments
  • Marcus Bointon
    Marcus Bointon
    2013-03-03

    This code no longer works that way.

     
  • Marcus Bointon
    Marcus Bointon
    2013-03-03

    • labels: Phpmailer -->
    • status: open --> closed