From: Chad Horohoe Date: Sun, 2 Aug 2009 19:40:30 +0000 (+0000) Subject: +newlines on error X-Git-Tag: 1.31.0-rc.0~40572 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=becbbe7b52607b84a664a0b1680cf18db665b62b;p=lhc%2Fweb%2Fwiklou.git +newlines on error --- diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index a18376b562..edfbe79394 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -295,7 +295,7 @@ abstract class Maintenance { # Make sure we can handle script parameters if( !ini_get( 'register_argc_argv' ) ) { - $this->error( "Cannot get command line arguments, register_argc_argv is set to false", true ); + $this->error( "Cannot get command line arguments, register_argc_argv is set to false\n", true ); } if( version_compare( phpversion(), '5.2.4' ) >= 0 ) { @@ -453,7 +453,7 @@ abstract class Maintenance { # Also make sure we've got enough arguments if ( count( $this->mArgs ) < count( $this->mArgList ) ) { - $this->error( "Not enough arguments passed", true ); + $this->error( "Not enough arguments passed\n", true ); } }