summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-01-22 13:57:58 +0000
committerthomascube <thomas@roundcube.net>2011-01-22 13:57:58 +0000
commitede17442a37106ad3561fb3433416d7201934933 (patch)
treee5c3c77431a54983ce5cc3295fe4dbca1d6711c2 /program/steps/addressbook
parentfbeb46890421b11736794f52ce96018d77f37595 (diff)
Fix search with no results; no size for date field
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r--program/steps/addressbook/edit.inc2
-rw-r--r--program/steps/addressbook/search.inc1
2 files changed, 1 insertions, 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