Ticket #2370: 2370.patch

File 2370.patch, 931 bytes (added by Artur Formella, 16 years ago)
  • FCKeditorSajax.body.php

     
    6464        $db = wfGetDB( DB_SLAVE );
    6565        $res = $db->select( 'page', 'page_title',
    6666        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 ) ."%'" ),
    6869        "wfSajaxSearch",
    6970        array( 'LIMIT' => $limit+1 )
    7071        );
     
    110111        $db = wfGetDB( DB_SLAVE );
    111112        $res = $db->select( 'page', 'page_title',
    112113        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 ) ."%'" ),
    114116        "wfSajaxSearch",
    115117        array( 'LIMIT' => $limit+1 )
    116118        );
     
    171173}
    172174
    173175
     176
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy