An empty image is appearing on all my tell-a-friend pages, I am not using the e-card functionality.

In tellafriend_node.module on line 545 there are the following lines:

  //if ($node->tellafriend_node_format_as_ecard == TRUE) {
    $form['message']['ecard'] = array(
      '#type' => 'markup',
      '#value' => '<img src="/' . $node->tellafriend_node_ecard_fullsize_image . '" />',
    );
  //}

The if statement checks if the format is an e-card which determines if the e-card image is shown. This if statement has been commented out so that if you are not using the e-card then an empty image is still shown. I'm sure there was a reason for this but just thought I'd check with you.

This is not visible in Firefox, but in Opera you see the broken image (I didn't try other browsers).

Also, thanks for your contribution.

Comments

ggaetz’s picture

Assigned: Unassigned » ggaetz

This was commented out while I was debugging, and I never noticed it because I hadn't checked it in Opera or IE yet. I've just committed the correction to cvs.

ggaetz’s picture

Status: Active » Closed (fixed)