Make sitekeywords case insensitive by lowercasing the argument.
Patch by kareila.
diffs (11 lines):
diff -r 5eb82813dd85 -r 9b600c7ae8fc cgi-bin/ljlib.pl
--- a/cgi-bin/ljlib.pl Thu Oct 28 08:07:43 2010 -0500
+++ b/cgi-bin/ljlib.pl Thu Oct 28 08:19:28 2010 -0500
@@ -1530,6 +1530,7 @@ sub get_sitekeyword_id {
# setup the keyword for use
return 0 unless $kw =~ /\S/;
$kw = LJ::trim( LJ::text_trim( LJ::trim( $kw ), LJ::BMAX_SITEKEYWORD,
LJ::CMAX_SITEKEYWORD ) );
+ $kw = LJ::utf8_lc( $kw );
# get the keyword and insert it if necessary
my $dbr = LJ::get_db_reader();
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog