mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9831 from muppsy007/php74-continue-warning
This commit is contained in:
commit
ef0c503ff6
@ -502,7 +502,8 @@ class SSHTMLBBCodeParser
|
|||||||
{
|
{
|
||||||
if (trim($tag['text']) == '') {
|
if (trim($tag['text']) == '') {
|
||||||
//just an empty indentation or newline without value?
|
//just an empty indentation or newline without value?
|
||||||
continue;
|
//skip this iteration of the foreach loop
|
||||||
|
continue 2;
|
||||||
}
|
}
|
||||||
$newTagArray[] = $child;
|
$newTagArray[] = $child;
|
||||||
$openTags[] = $child['tag'];
|
$openTags[] = $child['tag'];
|
||||||
|
Loading…
Reference in New Issue
Block a user