http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72832
Revision: 72832
Author: reedy
Date: 2010-09-11 21:08:48 +0000 (Sat, 11 Sep 2010)
Log Message:
-----------
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?
Modified Paths:
--------------
trunk/phase3/includes/UserMailer.php
Modified: trunk/phase3/includes/UserMailer.php
===================================================================
--- trunk/phase3/includes/UserMailer.php 2010-09-11 20:59:39 UTC (rev
72831)
+++ trunk/phase3/includes/UserMailer.php 2010-09-11 21:08:48 UTC (rev
72832)
@@ -121,7 +121,7 @@
$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" );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs