redundant </div> messes theme

ekrispin - June 10, 2007 - 21:25
Project:tellafriend
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

There is an extra redundant </div> at the end of line 274 that should be extracted.

Instead of:

<?php
$form
['tellafriend_message'] = array('#value' => filter_xss_admin("<strong>Message to be sent:</strong><br />" . nl2br(t(variable_get('tellafriend_message', 'You are invited to check out !sitename at !sitelink'), $placeholder_values)) . '<br></div>'));
?>

should be:

<?php
$form
['tellafriend_message'] = array('#value' => filter_xss_admin("<strong>Message to be sent:</strong><br />" . nl2br(t(variable_get('tellafriend_message', 'You are invited to check out !sitename at !sitelink'), $placeholder_values)) . '<br/>'));
?>

And one extra tiny thing: at line 219, it should be "the word" instead of "the world"...

#1

thierry_gd - June 11, 2007 - 12:53
Status:active» fixed

Just committed this on drupal.org

#2

Anonymous - June 25, 2007 - 13:27
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.