Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13966

Change post's author --> error message

XMLWordPrintable

      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;
      

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

              Created:
              Updated:
              Resolved: