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

MCP Front errors on reported posts

    Details

      Description

      Errors on mcp front if a pm is reported:

      [phpBB Debug] PHP Notice: in file [ROOT]/includes/mcp/mcp_front.php on line 261: Undefined index: msg_id
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/mcp/mcp_front.php on line 262: Undefined index: msg_id
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_privmsgs.php on line 2098: Undefined index: to_address
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_privmsgs.php on line 2098: Undefined index: bcc_address
      ....

      Due to the following line:
      $sql_ary = $db->sql_build_query('SELECT', $sql_ary);
      $result = $db->sql_query_limit($sql, 5);

      Should be $sql instead of $sql_ary

        Attachments

          Activity

            People

            • Assignee:
              Oleg Oleg [X] (Inactive)
              Reporter:
              EXreaction EXreaction [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: