From 1756862a65727407975d95ca134e5f71984984d8 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Sun, 6 Sep 2015 07:56:43 +0200 Subject: [PATCH 1/2] Typo --- htdocs/contact/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { From e88d7076a63405f0d70d59f9c54eb65ad54f7a71 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Sun, 6 Sep 2015 07:58:49 +0200 Subject: [PATCH 2/2] 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 '';