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

Forum tree is not build properly in /includes/acp/acp_attachments.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.2
    • 3.0.3
    • ACP
    • None
    • PHP Environment: PHP 5.2.0-8+etch13
      Database: 5.0.32-7etch6

    Description

      I get error that prevent loading page to modify an extention group.

      $padding_store[$row['parent_id']]; was undefined on line 798, so error was displayed at the beggining of the output, and cause error on further header send in index.php.

      The reason was because $auth->acl_get('f_list', $row['forum_id']) was wrong on the parent, so the parent was not in $padding_store.

      Reproductible : always , define a forum with acl f_list forbiden and a subforum with f_list enable, then try to modify an attachement group => impossible.

      Solution : maybe on line 790 :

      if (!isset($padding_store[$row['parent_id']]))
      {
      continue;
      }

      Attachments

        Activity

          People

            Acyd Burn Meik Sievertsen [X] (Inactive)
            joker-eph joker-eph
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: