From: Roan Kattouw Date: Fri, 31 Dec 2010 16:47:57 +0000 (+0000) Subject: Followup r78786: pass $fname in the raw SQL case too X-Git-Tag: 1.31.0-rc.0~32958 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=805b63b342005bb9669a4cc05e635a19677e388e;p=lhc%2Fweb%2Fwiklou.git Followup r78786: pass $fname in the raw SQL case too --- diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 480d74e27c..a45311f2b8 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -375,7 +375,7 @@ abstract class QueryPage extends SpecialPage { $sql = $this->getSQL(); $sql .= ' ORDER BY ' . implode( ', ', $order ); $sql = $dbr->limitResult( $sql, $limit, $offset ); - $res = $dbr->query( $sql ); + $res = $dbr->query( $sql, $fname ); } return $dbr->resultObject( $res ); }