diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-05-31 17:50:11 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-05-31 17:50:11 +0100 |
| commit | 102a585e51388accc5b8a66309b7b5298ded9163 (patch) | |
| tree | a999a402a2b8572aa6c6483e564244c859b6f2d3 /app/Report/ReportHtmlText.php | |
| parent | 03a3fe082230f19d0503571ae2c85eb3875dff6d (diff) | |
| download | webtrees-102a585e51388accc5b8a66309b7b5298ded9163.tar.gz webtrees-102a585e51388accc5b8a66309b7b5298ded9163.tar.bz2 webtrees-102a585e51388accc5b8a66309b7b5298ded9163.zip | |
Cleanup - avoid and/or operators
Diffstat (limited to 'app/Report/ReportHtmlText.php')
| -rw-r--r-- | app/Report/ReportHtmlText.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportHtmlText.php b/app/Report/ReportHtmlText.php index cdaf99075f..68e11567dd 100644 --- a/app/Report/ReportHtmlText.php +++ b/app/Report/ReportHtmlText.php @@ -113,7 +113,7 @@ class ReportHtmlText extends ReportBaseText { // If there is still remaining wrap width... if ($this->wrapWidthRemaining > 0) { // Check with line counter too! - if (($lw >= $this->wrapWidthRemaining) or ($lfct > 1)) { + if ($lw >= $this->wrapWidthRemaining || $lfct > 1) { $newtext = ""; $wrapWidthRemaining = $this->wrapWidthRemaining; $lines = explode("\n", $this->text); |
