mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/13243] Validate announcement entry for existence in version_helper
PHPBB3-13243
This commit is contained in:
@@ -271,7 +271,7 @@ class version_helper
|
|||||||
{
|
{
|
||||||
foreach ($branches as $branch => $branch_data)
|
foreach ($branches as $branch => $branch_data)
|
||||||
{
|
{
|
||||||
$info[$stability][$branch]['announcement'] = str_replace('&', '&', $branch_data['announcement']);
|
$info[$stability][$branch]['announcement'] = (!empty($branch_data['announcement'])) ? str_replace('&', '&', $branch_data['announcement']) : '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user