diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-19 17:03:33 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-19 17:03:33 +0000 |
commit | 95d1e6416217caf0be4e2aef03d80107e77ecc69 (patch) | |
tree | 59cbf2121e10cd113c03de02e7bd07eb0a27d623 /mail/horde-turba | |
parent | 1e5f8701d959f3521726d8680dc3b052c61fe685 (diff) | |
download | ports-95d1e6416217caf0be4e2aef03d80107e77ecc69.tar.gz ports-95d1e6416217caf0be4e2aef03d80107e77ecc69.zip |
Notes
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); + } + |