? sites/default/files ? sites/default/settings.php Index: includes/database.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database.inc,v retrieving revision 1.92.2.1 diff -u -r1.92.2.1 database.inc --- includes/database.inc 8 Feb 2008 22:44:59 -0000 1.92.2.1 +++ includes/database.inc 9 Apr 2008 17:16:13 -0000 @@ -341,13 +341,12 @@ else { $haystack_reverse = strrev($query); } - // No need to use strrev on the needle, we supply GROUP, ORDER, LIMIT + // No need to use strrev on the needle, we supply GROUP, ORDER, LIMIT, HAVING // reversed. - foreach (array('PUORG', 'REDRO', 'TIMIL') as $needle_reverse) { + foreach (array('PUORG', 'REDRO', 'TIMIL', 'GNIVAH') as $needle_reverse) { $pos = strpos($haystack_reverse, $needle_reverse); if ($pos !== FALSE) { - // All needles are five characters long. - $pos += 5; + $pos += strlen($needle_reverse); break; } }