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

When creating a module without the modes array a missing 'module_langname' index is accessed

    XMLWordPrintable

Details

    Description

      According to the documentation, when adding a new module through the migration, the "modes" parameter is optional, which means that when not provided, all modes will be loaded.

       

      In practice, when “modes” is not provided, the if statement in this line is true so the index module_langname is accessed, returning a “Undefined index: module_langname” error.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: