PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » File Formats » Contact_Vcard_Parse » Bug #4829

Script creates warnings: should make small moddification

Details

Submitted2005-07-13 22:52 UTC
Frompear at kingsquare dot nl
Assignedpmjones
StatusClosed
PackageContact_Vcard_Parse
PHP Version4.3.7
OSLinux
Roadmaps(Not assigned)

Comments

[2005-07-13 22:52 UTC] pear at kingsquare dot nl

Description:
------------
I get these warnings with my vcards:

Notice: Undefined offset: 1 in .../localdir/Contact_Vcard_Parse.php on line 549

line 548-550 should be:

// list of all parameter values
if (isset($tmp[1])) $listall = trim($tmp[1]);
else $listall = '';

might be a nice, small improvement! keep it up guys.

Reproduce code:
---------------
not neccesary

Expected result:
----------------
ok

Actual result:
--------------
ok