From: Mikael Nordfeldth Date: Sun, 23 Feb 2014 13:47:41 +0000 (+0100) Subject: slightly less confusing inline if X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02cbafb9870999325b138620cab16c45b0fe8546;p=quix0rs-gnu-social.git slightly less confusing inline if --- diff --git a/lib/mail.php b/lib/mail.php index 9ba4b0311c..d967cfd796 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -50,9 +50,7 @@ function mail_backend() if (!$backend) { $backend = Mail::factory(common_config('mail', 'backend'), - (common_config('mail', 'params')) ? - common_config('mail', 'params') : - array()); + common_config('mail', 'params') ?: array()); if (PEAR::isError($backend)) { common_server_error($backend->getMessage(), 500); }