From: Sam Reed Date: Thu, 12 Jan 2012 22:35:48 +0000 (+0000) Subject: Followup r108768, callign the right callback helps too X-Git-Tag: 1.31.0-rc.0~25317 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=5f2222c87c3577d870490c8253b343de8b4172c7;p=lhc%2Fweb%2Fwiklou.git Followup r108768, callign the right callback helps too --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 2b0aef2672..c51a0c1a8d 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -3185,7 +3185,7 @@ abstract class DatabaseBase implements DatabaseType { if ( $done || feof( $fp ) ) { $cmd = $this->replaceVars( $cmd ); if ( $inputCallback ) { - call_user_func( $resultCallback, $cmd ); + call_user_func( $inputCallback, $cmd ); } $res = $this->query( $cmd, $fname );