Fix E_WARNING from r99863
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 15 Oct 2011 19:22:05 +0000 (19:22 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 15 Oct 2011 19:22:05 +0000 (19:22 +0000)
includes/UserMailer.php

index ad713ef..3a3cca5 100644 (file)
@@ -158,7 +158,7 @@ class UserMailer {
                global $wgEnotifMaxRecips, $wgAdditionalMailParams;
 
                $emails = '';
-               wfDebug( __METHOD__ . ': sending mail to ' . is_array( $to ) ? implode( ', ', $to ) : $to . "\n" );
+               wfDebug( __METHOD__ . ': sending mail to ' . ( is_array( $to ) ? implode( ', ', $to ) : $to ) . "\n" );
 
                $headers['From'] = $from->toString();
                $headers['Return-Path'] = $from->toString();