diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-20 01:03:33 +0800 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-20 01:03:33 +0800 |
commit | 95d1e6416217caf0be4e2aef03d80107e77ecc69 (patch) | |
tree | 59cbf2121e10cd113c03de02e7bd07eb0a27d623 /mail/horde-turba | |
parent | 1e5f8701d959f3521726d8680dc3b052c61fe685 (diff) | |
download | freebsd-ports-gnome-95d1e6416217caf0be4e2aef03d80107e77ecc69.tar.gz freebsd-ports-gnome-95d1e6416217caf0be4e2aef03d80107e77ecc69.tar.zst freebsd-ports-gnome-95d1e6416217caf0be4e2aef03d80107e77ecc69.zip |
from pr/34013 :
"From imp, add a sender address in the addressbook => you get an error message,
and no address is added."
Diffstat (limited to 'mail/horde-turba')
-rw-r--r-- | mail/horde-turba/files/patch-lib_api.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/horde-turba/files/patch-lib_api.php b/mail/horde-turba/files/patch-lib_api.php new file mode 100644 index 000000000000..1a4af9ffe0e0 --- /dev/null +++ b/mail/horde-turba/files/patch-lib_api.php @@ -0,0 +1,11 @@ +--- lib/api.php.orig Tue Dec 25 20:01:35 2001 ++++ lib/api.php Thu Jan 17 23:46:58 2002 +@@ -90,7 +90,7 @@ + + $driver = Turba_Source::factory($addressbook, $cfgSources[$addressbook]); + $res = $driver->search(array('name' => $name, 'email' => $address), LASTNAME, TURBA_SEARCH_AND); +- if (PEAR::isError($res) || count($res) > 0) { ++ if (PEAR::isError($res) || count($res->objects) > 0) { + return PEAR::raiseError(_("This person is already in your addressbook."), HORDE_MESSAGE); + } + |