FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18189&edit=1

ID: 18189
Updated by: ml@radoeka.nl
Reported By: ml at radoeka dot nl
Summary: Patch:many undefined indexes, like TEL in
File_IMC_Build_Vcard->addTelephone()
-Status: Open
+Status: Duplicate
Type: Bug
Package: File_IMC
Operating System: linux
Package Version: 0.4.1
PHP Version: 5.3.1
Roadmap Versions:
New Comment:

-Status: Open
+Status: Duplicate
Duplicate of Bug #18188


Previous Comments:
------------------------------------------------------------------------

[2011-01-12 23:10:46] radoeka

Added #patch
bug:18189;patch:Vcard_prevent_undefines;revision:1294873846;.

------------------------------------------------------------------------

[2011-01-12 23:10:12] radoeka

Description:
------------
Patch:many undefined indexes, like this:
TEL in File_IMC_Build_Vcard->addTelephone() (regel 1109 van
/usr/share/php5/PEAR/File/IMC/Build/Vcard.php)

For details see:
http://drupal.org/node/1021962

I've a patch attached. Hopefully, you can commit it right away,
that would be nice.

Test script:
---------------
I use drupal, that creates a vcard for me. The undefined notices are
shown after the creation of the vcard on the webinterface. It makes
Drupal looking quite bad :(

Expected result:
----------------
No notices on the webinterface.

Actual result:
--------------
Many of those lines:
* Notice: Undefined index: TEL in File_IMC_Build_Vcard-
/usr/share/php5/PEAR/File/IMC/Build/Vcard.php).
* Notice: Undefined index: ADR in File_IMC_Build_Vcard-
/usr/share/php5/PEAR/File/IMC/Build/Vcard.php).
* Notice: Undefined index: NAME in File_IMC_Build_Vcard-
/usr/share/php5/PEAR/File/IMC/Build/Vcard.php).
* Notice: Undefined index: SOURCE in File_IMC_Build_Vcard-
/usr/share/php5/PEAR/File/IMC/Build/Vcard.php).
* Notice: Undefined index: PHOTO in File_IMC_Build_Vcard-
/usr/share/php5/PEAR/File/IMC/Build/Vcard.php).

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 13, '11 at 12:22p
activeJan 13, '11 at 12:22p
posts1
users1
websitepear.php.net

1 user in discussion

Ml: 1 post

People

Translate

site design / logo © 2022 Grokbase