From 3b79ad5c14dcb1bade450018a530d8a5eafe15ff Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Thu, 30 Jun 2011 18:51:24 +0000 Subject: [PATCH] Follow-up r89544: add dot per CR --- includes/api/ApiQueryFilearchive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) ); } } -- 2.20.1