--- path_redirect.module	Thu Apr 30 21:31:17 2009
+++ path_redirect.module	Mon May  4 18:36:57 2009
@@ -277,6 +277,7 @@
  * Retrieve a specific URL redirect from the database.
  */
 function path_redirect_load($where = array(), $args = array(), $sort = array()) {
+  $redirects = array();
   if (is_numeric($where)) {
     $where = array('rid' => $where);
   }
@@ -293,7 +294,11 @@
     if ($sort) {
       $sql .= ' ORDER BY '. implode(' ,', $sort);
     }
-    return db_fetch_object(db_query_range($sql, $args, 0, 1));
+    $result = db_query($sql, $args);
+    while($redirect = db_fetch_array($result)) {
+      $redirects[] = $redirect;
+    }
+    return $redirects;
   }
 }
 
