[bugs] [Bug 1018] New - Unable to add email address to addressbook through IMP

bugs@bugs.horde.org bugs@bugs.horde.org
Thu, 8 Aug 2002 06:15:21 -0300


http://bugs.horde.org/show_bug.cgi?id=1018

*** shadow/1018	Thu Aug  8 06:15:21 2002
--- shadow/1018.tmp.16235	Thu Aug  8 06:15:21 2002
***************
*** 0 ****
--- 1,24 ----
+ Bug#: 1018
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: All Browsers
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Turba
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: antonk@jatayoe.com               
+ URL: 
+ Summary: Unable to add email address to addressbook through IMP
+ 
+ while reading a message you aren't able to add the sender email address when 
+ clicking the book icon next to sender's email address. 
+ 
+ The bug happens to be in file turba/lib/api.php around line 93. It says:
+   if(PEAR::isError($res) || count($res) > 0)
+ I happens that count($res) always return number greater than 0.
+ It should be
+   if(PEAR::isError($res) || $res->count() > 0)