Hi,
If given name is not assigned (and i could not find any documenation that i should), you get an 'Fatal error: Cannot access empty property' error message at line 393 of cck_vcard_module:
$cck_vcard_output .= '<span class="given-name">'.$element['#node']->{$cck_vcard_fields_fname}[0]['safe'].'</span>';
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | cck_vcard-empty_variables-974470-7.patch | 6.35 KB | kpolymorphic |
Comments
Comment #1
michaelpporter commentedWe will test this, when building it this seemed to work.
Comment #2
michaelpporter commentedUpdated with checks for empty fields
Comment #3
magnus commentedIt seems this has not been committed to CVS. Thus, 6.x-1.0, does not include the fix.
Comment #4
michaelpporter commentedugh, you are right the latest version did not get posted.
Comment #5
michaelpporter commentedUpdated in 6.x-1.2
Comment #7
kpolymorphic commentedThis problem reappeared in the latest version for us. It was created by enabling vcard options on the node form then disabling some of them later by setting to "Ignore Field". I created a patch to fix the problem.
Comment #8
kpolymorphic commentedThis issue seems to have reappeared in the latest version. Please check.
Comment #9
michaelpporter commentedI have tried to update the module but Drupal is telling me there is no valid tag. not sure why this is.