mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Merge pull request #3119 from Elsensee/ticket/13243
[ticket/13243] Validate announcement entry for existence in version_helper
This commit is contained in:
@@ -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']) : '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user