Selaa lähdekoodia

! Fix another issue caused by Postgres being case-sensitive

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 11 vuotta sitten
vanhempi
commit
d3d8fc7571
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      Sources/DbSearch-postgresql.php

+ 4 - 0
Sources/DbSearch-postgresql.php

@@ -74,10 +74,14 @@ function smf_db_search_query($identifier, $db_string, $db_values = array(), $con
 			'~IF\sEXISTS~i' => '',
 		),
 		'insert_into_log_messages_fulltext' => array(
+			'~LIKE~i' => 'iLIKE',
+			'~NOT\sLIKE~i' => '~NOT iLIKE',
 			'~NOT\sRLIKE~i' => '!~*',
 			'~RLIKE~i' => '~*',
 		),
 		'insert_log_search_results_subject' => array(
+			'~LIKE~i' => 'iLIKE',
+			'~NOT\sLIKE~i' => 'NOT iLIKE',
 			'~NOT\sRLIKE~i' => '!~*',
 			'~RLIKE~i' => '~*',
 		),