Преглед изворни кода

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

spficklin пре 12 година
родитељ
комит
9969444321
1 измењених фајлова са 3 додато и 0 уклоњено
  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') {