diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index ca0d8d4fab..5d8ce8f29f 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -2013,7 +2013,7 @@ abstract class Merge } if(strpos($param[0], '$$NENVLF') === 0) { //sets a Pagebreak without any value, only if the field has a value - if($this->replacements['$$' . $param[1] . '$$'] != '') + if(!empty($this->replacements['$$' . $param[1] . '$$'])) { $replace = $LF; }