Fix text1/text2 specification in page index SQL query.
Add eszett also to single 's' for replacement.
This commit is contained in:
Brian Huisman 2023-06-16 13:33:15 -04:00
parent e76fdf730c
commit 8ed10eac36
2 changed files with 2 additions and 4 deletions

View file

@ -1130,9 +1130,7 @@ if (!$_SESSION['admin_username']) {
$_RDATA['page_index_offset'] = ($_SESSION['index_page'] - 1) * $_ODATA['admin_index_pagination'];
$indexRows->execute(array(
'text1' => '%'.$text.'%',
'text2' => '%'.$text.'%',
'text1' => '%'.$text.'%',
'text1' => $text,
'text2' => '%'.$text.'%',
'category1' => $category,
'category2' => $category,

View file

@ -777,7 +777,7 @@ $_RDATA['s_latin'] = array(
'n' => array('ñ', 'Ñ', 'ń', 'Ń', 'ň', 'Ň'),
'o' => array('ó', 'Ó', 'ò', 'Ò', 'ô', 'Ô', 'ö', 'Ö', 'õ', 'Õ', 'ø', 'Ø', 'ő', 'Ő'),
'r' => array('ŕ', 'Ŕ', 'ř', 'Ř'),
's' => array('ş', 'Ş', 'ś', 'Ś', 'š', 'Š'),
's' => array('ş', 'Ş', 'ś', 'Ś', 'š', 'Š', 'ß'),
't' => array('ť', 'Ť', 'ţ', 'Ţ'),
'u' => array('ú', 'Ú', 'ù', 'Ù', 'û', 'Û', 'ü', 'Ü', 'ů', 'Ů', 'ű', 'Ű'),
'x' => array('×'),