aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-01-20 01:03:33 +0800
committerijliao <ijliao@FreeBSD.org>2002-01-20 01:03:33 +0800
commitaafc2fa9003296fce6303b01c1e0156bfd1d6693 (patch)
tree4ac3e5505d5c3248fef8e85c5a28a608695db8af /mail
parent1faad42c855b3caa03381cb30514127a0d85e1df (diff)
downloadfreebsd-ports-gnome-aafc2fa9003296fce6303b01c1e0156bfd1d6693.tar.gz
freebsd-ports-gnome-aafc2fa9003296fce6303b01c1e0156bfd1d6693.tar.zst
freebsd-ports-gnome-aafc2fa9003296fce6303b01c1e0156bfd1d6693.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')
-rw-r--r--mail/horde-turba/files/patch-lib_api.php11
-rw-r--r--mail/horde4-turba/files/patch-lib_api.php11
-rw-r--r--mail/turba/files/patch-lib_api.php11
3 files changed, 33 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);
+ }
+
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);
+ }
+
diff --git a/mail/turba/files/patch-lib_api.php b/mail/turba/files/patch-lib_api.php
new file mode 100644
index 000000000000..1a4af9ffe0e0
--- /dev/null
+++ b/mail/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);
+ }
+