[Tickets #5648] Re: tovCard doesnt export categories

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Aug 20 15:06:16 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5648
-----------------------------------------------------------------------
 Ticket             | 5648
 Updated By         | rsalmon at mbpgroup.com
 Summary            | tovCard doesnt export categories
 Queue              | Turba
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


rsalmon at mbpgroup.com (2007-08-20 08:06) wrote:

> The function tovCard in lib/Driver.php doesn't handle categories.


Quick fix :
function tovCard
add to swith section
            case 'businessCategory':
                $vcard->setAttribute('CATEGORIES', $val);
                break;

function toHash
add to swith section
            case 'CATEGORIES':
                $hash['businessCategory'] = str_replace('\; ', ';',
$item['value']);
                break;
            }






More information about the bugs mailing list