summaryrefslogtreecommitdiff
path: root/mail/horde4-turba
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-19 17:03:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-19 17:03:33 +0000
commit95d1e6416217caf0be4e2aef03d80107e77ecc69 (patch)
tree59cbf2121e10cd113c03de02e7bd07eb0a27d623 /mail/horde4-turba
parenthorde-devel from 2.0 RC3 to 2.0; (diff)
from pr/34013 :
"From imp, add a sender address in the addressbook => you get an error message, and no address is added."
Notes
Notes: svn path=/head/; revision=53348
Diffstat (limited to 'mail/horde4-turba')
-rw-r--r--mail/horde4-turba/files/patch-lib_api.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/horde4-turba/files/patch-lib_api.php b/mail/horde4-turba/files/patch-lib_api.php
new file mode 100644
index 000000000000..1a4af9ffe0e0
--- /dev/null
+++ b/mail/horde4-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);
+ }
+