Index: trunk/phase3/maintenance/dumpTextPass.php |
— | — | @@ -408,7 +408,7 @@ |
409 | 409 | // Subprocess may not send everything at once, we have to loop. |
410 | 410 | while( $nbytes > strlen( $text ) ) { |
411 | 411 | $buffer = fread( $this->spawnRead, $nbytes - strlen( $text ) ); |
412 | | - if( $text === false ) break; |
| 412 | + if( $buffer === false ) break; |
413 | 413 | $text .= $buffer; |
414 | 414 | } |
415 | 415 | |