From: Mark A. Hershberger Date: Wed, 14 Jul 2010 22:44:19 +0000 (+0000) Subject: re r67320: output a newline if we switch from channeled to unchanneled output X-Git-Tag: 1.31.0-rc.0~36140 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=fd4ce712bc33d032a4b254e30d4abf753b98cad2;p=lhc%2Fweb%2Fwiklou.git re r67320: output a newline if we switch from channeled to unchanneled output --- diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 9a987bfc1f..6433296ff0 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -226,6 +226,7 @@ abstract class Maintenance { } if ( $channel === null ) { $f = fopen( 'php://stdout', 'w' ); + if ( $this->lastChannel !== null ) fwrite( $f, "\n" ); fwrite( $f, $out ); fclose( $f ); }