Closed (fixed)
Project:
ecard
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2008 at 17:25 UTC
Updated:
11 Aug 2008 at 13:52 UTC
On line 362 of ecard.module :
drupal_set_message(t("Your ecard has been sent and a copy is stored for your reference.<br>you can view the copy <a href='".$card_copy_url."'>here</a>"));
It seems to me this should be
drupal_set_message(t("Your ecard has been sent and a copy is stored for your reference.<br>you can view the copy <a href='") . $card_copy_url . t("'>here</a>"));
The $card_copy_url should not be passed to t(). Otherwise the t() function will add a string to the table for every ecard which is sent because $card_copy_url has a different value every time, hence it is a new string.
It also makes it impossible to translate.
Comments
Comment #1
mssarath commentedIts true, thanks for pointing out. will make a new update.
Comment #2
mssarath commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.