Index: trunk/phase3/includes/api/ApiQueryFilearchive.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | $sha1 = $params['sha1base36']; |
108 | 108 | } |
109 | 109 | if ( $sha1 ) { |
110 | | - $this->addWhere( 'fa_storage_key ' . $db->buildLike( $sha1, $db->anyString() ) ); |
| 110 | + $this->addWhere( 'fa_storage_key ' . $db->buildLike( "{$sha1}.", $db->anyString() ) ); |
111 | 111 | } |
112 | 112 | } |
113 | 113 | |