From ed1d212ae2daea5e4bd043417610177093e99f19 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 16 Jan 2016 03:03:51 -0500 Subject: [PATCH] Improved SVG cleanup code --- program/lib/Roundcube/rcube_imap_generic.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php index f45f608..caf2ebe 100644 --- a/program/lib/Roundcube/rcube_imap_generic.php +++ b/program/lib/Roundcube/rcube_imap_generic.php @@ -194,7 +194,7 @@ do { if ($this->eof()) { - return $line ? $line : null; + return $line ?: null; } $buffer = fgets($this->fp, $size); @@ -462,7 +462,7 @@ } } - return !empty($result) ? $result : false; + return $result ?: false; } /** -- Gitblit v1.9.1