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

includes/acp/acp_mods.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Invalid
    • 3.0.11
    • 3.0.12-RC1
    • Installation system
    • None
    • PHP Version 5.4.4, MySQL 5.5.25a, FF17.0

    Description

      (Modification w/ children)
      When you upload a modification and look at the options within the AutoMOD tab, it shows the options of the mod correctly.
      After installing it, it creates a debug message saying:
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_mods.php on line 1976: Illegal string offset 'realname'

      The issue is that there is not always an index "realname" when your mod has children related to the mod (e.g. language files)
      Workaround:
      find in includes/acp/acp_mod.php ->
      if ($file['realname'] == $row['lang_iso'])

      replace with ->
      if (isset($file['realname']) AND $file['realname']== $row['lang_iso'])

      Attachments

        Activity

          People

            bantu Andreas Fischer [X] (Inactive)
            Miriam Miriam [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: