Patch bug43352.diff for Website problem Bug #43352
Patch version 2010-07-09 14:13 UTC
Return to Bug #43352 |
Download this patch
Patch Revisions:
Developer: vrana@php.net
Index: include/manual-lookup.inc
===================================================================
--- include/manual-lookup.inc (revision 301113)
+++ include/manual-lookup.inc (working copy)
@@ -139,7 +139,7 @@
$words = "'" . implode("','", $keywords) . "'";
$SQL = "SELECT name, prio FROM fs WHERE lang = 'LANG_HERE'
- AND keyword IN (" . $words . ") ORDER BY prio LIMIT 1";
+ AND keyword IN (" . $words . ") ORDER BY keyword = $keyword DESC, prio LIMIT 1";
}
// Check for all the languages
|