Index: trunk/phase3/includes/SpecialNewimages.php |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | $m = $dbr->strencode( strtolower( $nt->getDBkey() ) ); |
82 | 82 | $m = str_replace( '%', "\\%", $m ); |
83 | 83 | $m = str_replace( '_', "\\_", $m ); |
84 | | - $where[] = "LCASE(img_name) LIKE '%{$m}%'"; |
| 84 | + $where[] = "LOWER(img_name) LIKE '%{$m}%'"; |
85 | 85 | $searchpar = '&wpIlMatch=' . urlencode( $wpIlMatch ); |
86 | 86 | } |
87 | 87 | } |
Index: trunk/phase3/includes/SpecialImagelist.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | $m = $dbr->strencode( strtolower( $nt->getDBkey() ) ); |
45 | 45 | $m = str_replace( "%", "\\%", $m ); |
46 | 46 | $m = str_replace( "_", "\\_", $m ); |
47 | | - $this->mQueryConds = array( "LCASE(img_name) LIKE '%{$m}%'" ); |
| 47 | + $this->mQueryConds = array( "LOWER(img_name) LIKE '%{$m}%'" ); |
48 | 48 | } |
49 | 49 | } |
50 | 50 | |