summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-22 13:57:58 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-22 13:57:58 +0000
commit9372f8dc2782b1c938daea335577cffb979bd217 (patch)
tree8725d3b8e01ba53b0e5ceb1bc6fa12fe4b26be70
parent0c4670ac8b9c6524536c28d3d3d38449015ed26c (diff)
Fix search with no results; no size for date field
git-svn-id: https://svn.roundcube.net/trunk@4443 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/addressbook/edit.inc2
-rw-r--r--roundcubemail/program/steps/addressbook/search.inc1
2 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/addressbook/edit.inc b/roundcubemail/program/steps/addressbook/edit.inc
index 004267961..c0d5f0fdd 100644
--- a/roundcubemail/program/steps/addressbook/edit.inc
+++ b/roundcubemail/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/roundcubemail/program/steps/addressbook/search.inc b/roundcubemail/program/steps/addressbook/search.inc
index 9e40abad7..0b4397f6d 100644
--- a/roundcubemail/program/steps/addressbook/search.inc
+++ b/roundcubemail/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