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

Unable to Select Member from Warnings Screen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • None
    • PHP Environment:
      Database:

      Go to Moderator Control Panel -> Warnings -> Find a member -> select member. It will not work because the URL is empty.

      Fix in includes/mcp/mcp_warn.php
      Find:

      $template->assign_var('U_POST_ACTION', "mcp.$phpEx$SID&i=warn&mode=warn_user");

      Replace with:

      	$template->assign_vars(array(
      		'U_POST_ACTION' => "mcp.$phpEx$SID&i=warn&mode=warn_user",
      		'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&form=mcp&field=username",
      		)
      	);

      Thanks.

            Graham Graham [X] (Inactive)
            pentapenguin pentapenguin [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: