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

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

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: