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/ReportHtmlFootnote.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/ReportHtmlFootnote.php')
| -rw-r--r-- | app/Report/ReportHtmlFootnote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportHtmlFootnote.php b/app/Report/ReportHtmlFootnote.php index 48c729a5e6..6e960ec969 100644 --- a/app/Report/ReportHtmlFootnote.php +++ b/app/Report/ReportHtmlFootnote.php @@ -107,7 +107,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote { // 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->numText); |
