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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.3
    • 3.0.2
    • ACP
    • None
    • PHP Environment: PHP 5.2.0-8+etch13
      Database: 5.0.32-7etch6

      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;
      }

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

              Created:
              Updated:
              Resolved: