Active
Project:
Phone
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2011 at 00:27 UTC
Updated:
5 Dec 2011 at 20:34 UTC
Jump to comment: Most recent file
Notice: Undefined index: #item in us_formatter_default() (line 83 of /path/to/sites/all/modules/contrib/cck_phone/includes/phone.us.inc).
Notice: Undefined variable: ext in us_formatter_default() (line 104 of /path/to/sites/all/modules/contrib/cck_phone/includes/phone.us.inc).
This happens when using rules module to output or email the cck_phone field [by using tokens in the rules action]
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | changeset_r0fe122afa1eb63e2d3654ccc089691ed07fbdd76.diff | 842 bytes | xcf33 |
Comments
Comment #1
xcf33 commentedAttached is a diff that fixes the afore mentioned issue.
The main issue here is that
$element['#item'] does not exist and should be the $element itself