Browse Source

Merge branch '6.x-1.x' of git.drupal.org:sandbox/spficklin/1337878 into 6.x-1.x

spficklin 12 years ago
parent
commit
9969444321
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tripal_pub/includes/pub_search.inc

+ 3 - 0
tripal_pub/includes/pub_search.inc

@@ -441,6 +441,9 @@ function tripal_pub_get_search_results($search_array, $limit, $pager_id) {
     if ($op == 'NOT') {
       $op = 'AND NOT';
     }
+    if (!$op) {
+      $op = 'AND';
+    }
     
     $action = "= lower('%s')";
     if($mode == 'Contains') {