From ede17442a37106ad3561fb3433416d7201934933 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 22 Jan 2011 13:57:58 +0000 Subject: [PATCH] Fix search with no results; no size for date field --- program/steps/addressbook/edit.inc | 2 +- program/steps/addressbook/search.inc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 004267961..c0d5f0fdd 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -108,7 +108,7 @@ function rcmail_contact_editform($attrib) 'gender' => array('visible' => true), 'maidenname' => array('size' => $i_size), 'birthday' => array('visible' => true), - 'anniversary' => array('size' => $i_size), + 'anniversary' => array(), 'manager' => array('size' => $i_size), 'assistant' => array('size' => $i_size), 'spouse' => array('size' => $i_size), diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc index 9e40abad7..0b4397f6d 100644 --- a/program/steps/addressbook/search.inc +++ b/program/steps/addressbook/search.inc @@ -39,7 +39,6 @@ if ($result->count > 0) else { $OUTPUT->show_message('nocontactsfound', 'notice'); - $search_request = null; } // update message count display