--- trunk/pgest.c 2005/05/20 22:09:16 8 +++ trunk/pgest.c 2005/05/22 21:18:11 9 @@ -94,7 +94,8 @@ } /* set the search phrase to the search condition object */ - est_cond_set_phrase(cond, query); + if (strlen(query) > 0) + est_cond_set_phrase(cond, query); /* minimum valid attribute length is 10: @a STREQ a */ if (attr != NULL && strlen(attr) >= 10) {