PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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