Fix #1570 : php 4.2.x error on conflict merging
This commit is contained in:
parent
f4c6d815fd
commit
e24061460b
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ function wfMerge( $old, $mine, $yours, &$result ){
|
|||
wfEscapeShellArg( $yourtextName );
|
||||
$handle = popen( $cmd, 'r' );
|
||||
|
||||
if( fgets( $handle ) ){
|
||||
if( fgets( $handle, 1024 ) ){
|
||||
$conflict = true;
|
||||
} else {
|
||||
$conflict = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue