Ticket #2370: 2370.patch
File 2370.patch, 931 bytes (added by , 16 years ago) |
---|
-
FCKeditorSajax.body.php
64 64 $db = wfGetDB( DB_SLAVE ); 65 65 $res = $db->select( 'page', 'page_title', 66 66 array( 'page_namespace' => NS_IMAGE, 67 "LOWER(page_title) LIKE '%". $db->strencode( $term2 ) ."%'" ), 67 //2370 68 "LOWER(CONVERT(page_title USING latin1)) LIKE '%". $db->strencode( $term2 ) ."%'" ), 68 69 "wfSajaxSearch", 69 70 array( 'LIMIT' => $limit+1 ) 70 71 ); … … 110 111 $db = wfGetDB( DB_SLAVE ); 111 112 $res = $db->select( 'page', 'page_title', 112 113 array( 'page_namespace' => $ns, 113 "LOWER(page_title) LIKE '%". $db->strencode( $term2 ) ."%'" ), 114 //2370 115 "LOWER(CONVERT(page_title USING latin1)) LIKE '%". $db->strencode( $term2 ) ."%'" ), 114 116 "wfSajaxSearch", 115 117 array( 'LIMIT' => $limit+1 ) 116 118 ); … … 171 173 } 172 174 173 175 176