Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11826

Undefined variable: encode_eol

    XMLWordPrintable

Details

    Description

      Not sure when this was added for 3.0.12 but a PHP error notice is displayed when sending PMs or anything to do with the messenger system due to this in includes/functions_messenger.php

       		if (empty($this->replyto))
      		{
      			$this->replyto = mail_encode($config['sitename'], $encode_eol) . ' <' . $config['board_contact'] . '>';
      		}
       
      		if (empty($this->from))
      		{
      			$this->from = mail_encode($config['sitename'], $encode_eol) . ' <' . $config['board_contact'] . '>';
      		}
       
      		$encode_eol = ($config['smtp_delivery']) ? "\r\n" : $this->eol;

      $encode_eol isn't set prior to running the mail_encode function.

      Attachments

        Activity

          People

            bantu Andreas Fischer
            RMcGirr83 Rich McGirr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: