| Index: trunk/phase3/includes/api/ApiMain.php |
| — | — | @@ -402,7 +402,7 @@ |
| 403 | 403 | $this->getResult()->addValue( null, 'requestid', $requestid ); |
| 404 | 404 | } |
| 405 | 405 | $servedby = $this->getParameter( 'servedby' ); |
| 406 | | - if( !is_null( $servedby ) ) { |
| | 406 | + if( $servedby ) { |
| 407 | 407 | $this->getResult()->addValue( null, 'servedby', wfHostName() ); |
| 408 | 408 | } |
| 409 | 409 | |