-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0
-
None
Support topic: https://www.phpbb.com/community/viewtopic.php?f=466&t=2268681
If some extension versioncheck json file doesn't contain announcement entry, rechecking versions throws debug error like
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/version_helper.php on line 274: Undefined index: announcement
|
This is due to the /phpbb/version_helper.php code doesn't validate the announcement entry for existance:
// Replace & with & on announcement links
|
foreach ($info as $stability => $branches)
|
{
|
foreach ($branches as $branch => $branch_data)
|
{
|
$info[$stability][$branch]['announcement'] = str_replace('&', '&', $branch_data['announcement']);
|
}
|
}
|
- is duplicated by
-
PHPBB-13281 Incorrect/incomplete version-check JSON can mess up ACP
- Closed