Index: path_redirect.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/path_redirect/path_redirect.module,v
retrieving revision 1.3.2.7.2.104
diff -u -p -r1.3.2.7.2.104 path_redirect.module
--- path_redirect.module	10 Aug 2010 04:46:01 -0000	1.3.2.7.2.104
+++ path_redirect.module	22 Aug 2010 08:04:23 -0000
@@ -402,6 +402,11 @@ function _path_redirect_build_conditions
   static $schema;
   if (!isset($schema)) {
     $schema = drupal_get_schema('path_redirect');
+    if (empty($schema)) {
+      module_load_include('install', 'path_redirect');
+      $schema = path_redirect_schema();
+      $schema = $schema['path_redirect'];
+    }
   }
 
   $query += array(
