mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[ticket/13243] Validate announcement entry for existence in version_helper
PHPBB3-13243
This commit is contained in:
parent
101945acf9
commit
3fba5e317a
@ -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']) : '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user