bugphpGroupWare - Bugs: bug #14130, Contact info doesn't get added in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14130: Contact info doesn't get added in php5, generates a warning

Submitted by:  Charles Martin <cafefroid>
Submitted on:  Mon 15 Aug 2005 03:00:30 PM UTC  
 
Item Group: NoneCategory: addressbook
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Jonathan Rivera <jarg>Open/Closed: Closed
Component Version: NoneOperating System: None
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Wed 07 Dec 2005 12:06:08 PM UTC, comment #2:

Related patch #4331 applied - closing

Dave Hall <skwashd>
Project Administrator
Fri 19 Aug 2005 07:50:25 PM UTC, comment #1:

This has been corrected in CVS.

To grab a complete update of all fixes:

1) Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite
distro.

2) Then just type:
'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and
will always get the most current bug fixes.

Thanks,

Jonathan Rivera <jarg>In charge of this item.
Mon 15 Aug 2005 03:00:30 PM UTC, original submission:

class.soaddressbook.inc.php generates a warning when first adding a contact in the addressbook and the info doesn't get added to the record. Once the record is added, it can be modified correctly.

Fix :

class.soaddressbook.inc.php, line 612
$principal = array_merge($fields['tab_person_data'], $fields['tab_extra']);

Prefix that line with something like :
if (!(is_array($fields['tab_person_data']))){
$fields['tab_person_data'] = (array)$fields['tab_person_data'];
}

if (!(is_array($fields['tab_extra']))){
$fields['tab_extra'] = (array)$fields['tab_extra'];
}

To make sure both params are arrays

Charles Martin <cafefroid>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 07 Dec 2005 12:06:08 PM UTCskwashdOpen/ClosedOpen=>Closed
Fri 19 Aug 2005 07:50:25 PM UTCjargStatusNone=>Fixed
Tue 16 Aug 2005 11:00:20 PM UTCskwashdAssigned toNone=>jarg
  Carbon-Copy-=>Added lex@phpgroupware
Mon 15 Aug 2005 03:00:30 PM UTCcafefroidCarbon-Copy-=>Added cafefroid

Back to the top


Powered by Savane 3.1-cleanup1