From ede17442a37106ad3561fb3433416d7201934933 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 22 Jan 2011 08:57:58 -0500
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 insertions(+), 2 deletions(-)
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc
index 0042679..c0d5f0f 100644
--- a/program/steps/addressbook/edit.inc
+++ b/program/steps/addressbook/edit.inc
@@ -108,7 +108,7 @@
'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 9e40aba..0b4397f 100644
--- a/program/steps/addressbook/search.inc
+++ b/program/steps/addressbook/search.inc
@@ -39,7 +39,6 @@
else
{
$OUTPUT->show_message('nocontactsfound', 'notice');
- $search_request = null;
}
// update message count display
--
Gitblit v1.9.1