diff options
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/addressbook/search.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/search.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc index e5ace2451..d23bf5dac 100644 --- a/program/steps/addressbook/search.inc +++ b/program/steps/addressbook/search.inc @@ -39,7 +39,7 @@ if ($result->count > 0) else { $OUTPUT->show_message('nocontactsfound', 'warning'); - $search_request = -1; + $search_request = null; } // update message count display diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc index e512e79b3..1fc74dfe5 100644 --- a/program/steps/mail/search.inc +++ b/program/steps/mail/search.inc @@ -128,7 +128,7 @@ else } // update message count display -$OUTPUT->set_env('search_request', $search_str ? $search_request : -1); +$OUTPUT->set_env('search_request', $search_str ? $search_request : ''); $OUTPUT->set_env('messagecount', $count); $OUTPUT->set_env('pagecount', ceil($count/$IMAP->page_size)); $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1)); |