#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

  • 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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks