mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/13243] Validate announcement entry for existence in version_helper
PHPBB3-13243
This commit is contained in:
parent
101945acf9
commit
3fba5e317a
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class version_helper
|
|||
{
|
||||
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…
Add table
Reference in a new issue