From e88d7076a63405f0d70d59f9c54eb65ad54f7a71 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Sun, 6 Sep 2015 07:58:49 +0200 Subject: [PATCH] Fix Problem with checked input when you edit a survey --- htdocs/opensurvey/card.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/opensurvey/card.php b/htdocs/opensurvey/card.php index d93c37cbfb9..87373c571f8 100644 --- a/htdocs/opensurvey/card.php +++ b/htdocs/opensurvey/card.php @@ -248,7 +248,7 @@ if (!$object->fk_user_creat) { print ''.$langs->trans('ToReceiveEMailForEachVote').''; if ($action == 'edit') { - print 'mailsonde?' checked':'').'">'; + print 'mailsonde?'checked="checked"':'').'">'; } else { print yn($object->mailsonde); @@ -266,7 +266,7 @@ print ''; print ''.$langs->trans('CanComment').''; if ($action == 'edit') { - print 'allow_comments?' checked':'').'">'; + print 'allow_comments?'checked="checked"':'').'">'; } else print yn($object->allow_comments); print ''; @@ -275,7 +275,7 @@ print ''; print ''.$langs->trans('CanSeeOthersVote').''; if ($action == 'edit') { - print 'allow_spy?' checked':'').'">'; + print 'allow_spy?'checked="checked"':'').'">'; } else print yn($object->allow_spy); print '';