diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index a45437b3a39..9778d0c8a71 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -646,7 +646,7 @@ else print ': '; if ($object->birthday_alert) { - print ''; + print ''; } else { 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 '';