From 7f2d9336cb99943f5bb8d7bf09c9a30ac06a83fb Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 11 Sep 2010 21:08:48 +0000 Subject: [PATCH] Using oimplode( ',', $to ) in wfDebug would only result in the same problem as the listed bug (object, object, object) that was being worked around Bug linked tested on php 5.3.2 gives expected results. Can we optionally work around this now? --- includes/UserMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 07cf57d48c..f2e92ffd76 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -121,7 +121,7 @@ class UserMailer { $emails .= $t->toString() . ","; } $emails = rtrim( $emails, ',' ); - wfDebug( __METHOD__.': sending mail to ' . implode( ',', $to ) . "\n" ); + wfDebug( __METHOD__.': sending mail to ' . $emails . "\n" ); } else { wfDebug( __METHOD__.': sending mail to ' . implode( ',', array( $to->toString() ) ) . "\n" ); } -- 2.20.1