Closed (fixed)
Project:
Shoutbox
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2008 at 02:52 UTC
Updated:
31 Jul 2008 at 04:47 UTC
Line 731 should have the 'Confirm' sent through the t() function. Otherwise the condition will fail if the string "Confirm" has been translated:
if ($form_state['clicked_button']['#value'] == t('Confirm')) {
Comments
Comment #1
grub3 commentedGreat catch. This fixes my problem. Thanks. This should be committed to CVS ASAP.
Comment #2
disterics commentedFix is commited.
Comment #3
mjourney2 commentedThere is a second instance further down in the code where the same == 'Confirm' needs to be changed to == t('Confirm'). You may want to fix that also. Thanks.
Comment #4
disterics commentedAaah! Stupid me. Will do.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.