? path_redirect.patch
Index: path_redirect.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/path_redirect/path_redirect.module,v
retrieving revision 1.3.2.7.2.52
diff -u -p -r1.3.2.7.2.52 path_redirect.module
--- path_redirect.module	30 Oct 2009 08:16:33 -0000	1.3.2.7.2.52
+++ path_redirect.module	3 Nov 2009 11:25:19 -0000
@@ -284,7 +284,7 @@ function path_redirect_load($rid) {
 }
 
 function path_redirect_load_by_path($path, $language = '') {
-  return db_fetch_array(db_query_range("SELECT * FROM {path_redirect} WHERE path = '%s', AND language IN ('%s', '') ORDER BY language DESC", $path, $language, 0, 1));
+  return db_fetch_array(db_query_range("SELECT * FROM {path_redirect} WHERE path = '%s' AND language IN ('%s', '') ORDER BY language DESC", $path, $language, 0, 1));
 }
 
 function path_redirect_delete($redirect, $deprecated = FALSE) {
