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

Change post's author --> error message

    Details

      Description

      Changing the author of a posting leads to:

          [phpBB Debug] PHP Notice: in file [ROOT]/includes/mcp/mcp_post.php on line 541: Undefined variable: phpbb_dispatcher
      

      Find:

          /**
          * Change a post's poster
          */
          function change_poster(&$post_info, $userdata)
          {
              global $auth, $db, $config, $phpbb_root_path, $phpEx, $user;
      

      Replace with:

          /**
          * Change a post's poster
          */
          function change_poster(&$post_info, $userdata)
          {
              global $auth, $db, $config, $phpbb_root_path, $phpEx, $user, $phpbb_dispatcher;
      

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Crizzo Crizzo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: