Fix body/text searches
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 27 Jan 2010 02:06:55 +0000 (19:06 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 27 Jan 2010 02:06:55 +0000 (19:06 -0700)
imp/lib/Ui/Search.php

index 404f18c..254703d 100644 (file)
@@ -69,7 +69,7 @@ class IMP_Ui_Search
             case 'body':
             case 'text':
                 if (!empty($rule->v)) {
-                    $ob->text($rule->c, $search_fields[$rule->t]['type'] == 'body', !empty($rule->n));
+                    $ob->text($rule->v, $search_fields[$rule->t]['type'] == 'body', !empty($rule->n));
                     $search_array[] = $ob;
                 }
                 break;