From: Bryan Tong Minh Date: Thu, 30 Jun 2011 18:51:24 +0000 (+0000) Subject: Follow-up r89544: add dot per CR X-Git-Tag: 1.31.0-rc.0~29149 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=3b79ad5c14dcb1bade450018a530d8a5eafe15ff;p=lhc%2Fweb%2Fwiklou.git Follow-up r89544: add dot per CR --- diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index 6c3b5c58cd..54d5a45cf7 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -106,7 +106,7 @@ class ApiQueryFilearchive extends ApiQueryBase { $sha1 = $params['sha1base36']; } if ( $sha1 ) { - $this->addWhere( 'fa_storage_key ' . $db->buildLike( $sha1, $db->anyString() ) ); + $this->addWhere( 'fa_storage_key ' . $db->buildLike( "{$sha1}.", $db->anyString() ) ); } }