Commit 02cbafb9 authored by mmn's avatar mmn

slightly less confusing inline if

parent edee3979
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment