includes/paths.php
changeset 935 9e124177c9a4
parent 915 91f4da84966f
child 953 323c4cd1aa37
--- a/includes/paths.php	Thu Apr 16 21:01:47 2009 -0400
+++ b/includes/paths.php	Thu Apr 16 22:48:59 2009 -0400
@@ -1023,6 +1023,11 @@
     
     $new_index = $search->index;
     
+    if ( count($search->index) == 0 )
+      // o_O
+      // nothing indexed.
+      return true;
+    
     if ( ENANO_DBLAYER == 'MYSQL' )
     {
       $keys = array_keys($search->index);