Menu

email bug when adding to addressbook

2000-06-28
2000-06-28
  • vincent LARCHET

    vincent LARCHET - 2000-06-28

    Hi guys,

    When you want to add so that sent you a mail to your addressbook nothing hapened and even 2 forms where displayed, to correct this its just of (around line 26, directory addressbook, file add.php3) :

    if ($add_email)
        {list($fields[lastname],$fields[firstname])=explode(" ", $name);
        $fields[email]=$add_email;
        form("","add.php3","Add",$fields); /*form takes only 4 args*/
        }
      else /*don't forget the else unless two forms will be displayed*/
    if (! $submit)
         form("","add.php3","Add","");
    .....

    I also modified message.php3 (directory email) to add line 97:
    "&name=". urlencode(htmlentities(decode_header_string($personal)))
    this enables to have the name and the mail adress of your contcat to be automaticly added to your addressbook!

    Have a nice day !

     
    • Joseph Engo

      Joseph Engo - 2000-06-28

      Great, we did not get a chance to fix it for the weekly release.  Your patchs will be avaiable in cvs in a day or so.  Sorry we couldn't included it on this weeks release, we didn't want to delay the release more then it has been.
      It will be included for next weeks.

       

Log in to post a comment.

MongoDB Logo MongoDB