Wrong tag in error message

AlexisWilke - December 31, 2008 - 11:25
Project:InsertNode
Version:5.x-1.1
Component:User interface
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active
Description

Hi there,

You have an error in the first function in the module. The error message uses a t() that includes the close <em> tag which will be repeated twice.

<?php
return "<em>". t("Can't find @s to include!</em>", array("@s" => $matches[1])) ."</em>";
?>

Thank you.
Alexis Wilke

 
 

Drupal is a registered trademark of Dries Buytaert.