Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Invalid
-
3.0.11
-
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'])