diff --git a/VERSIONS_HOTLINE/55821 b/VERSIONS_HOTLINE/55821 new file mode 100644 index 0000000000000000000000000000000000000000..e0d4f4b3dbb43f63e32cd3907157b918e2322bb9 --- /dev/null +++ b/VERSIONS_HOTLINE/55821 @@ -0,0 +1 @@ + - ticket #55821 : administration des suggestions d'achat: le lien pour envoyer un mail est compatible avec le client de messagerie Zimbra 7 \ No newline at end of file diff --git a/application/modules/admin/views/scripts/suggestion-achat/index.phtml b/application/modules/admin/views/scripts/suggestion-achat/index.phtml index ff3146a5b94ddf8d2eef7a1f1deec87ccade79d2..fe4a1c6274e10824148aa2cd0245f6eae05b7b72 100644 --- a/application/modules/admin/views/scripts/suggestion-achat/index.phtml +++ b/application/modules/admin/views/scripts/suggestion-achat/index.phtml @@ -33,7 +33,7 @@ $_actions = [$_edit_action, function($model) { return ($model->hasUserMail()) ? $this->boutonIco('type=MAIL', - 'mailto='.$model->getUserMail().'?Subject='.rawurlencode($this->_('Suggestion d\'achat:').' '.$model->getTitre())) + 'mailto='.$model->getUserMail().'?subject='.rawurlencode($this->_('Suggestion d\'achat:').' '.$model->getTitre())) : '';}, $_delete_action ]; diff --git a/tests/application/modules/admin/controllers/ModoControllerTest.php b/tests/application/modules/admin/controllers/ModoControllerTest.php index aaa4ed63000f0d3055fc82675955292a93abf3f7..4b99ca58da67275d410595855ab5101fc835811f 100644 --- a/tests/application/modules/admin/controllers/ModoControllerTest.php +++ b/tests/application/modules/admin/controllers/ModoControllerTest.php @@ -432,7 +432,7 @@ class ModoControllerSuggestionAchatActionTest extends ModoControllerSuggestionAc /** @test */ public function firstRowActionsShouldContainsLinkToMailUser() { - $this->assertXPath('//tbody//tr[1]//td//a[@href="mailto:ppoucet@afi.com?Subject=Suggestion%20d%27achat%3A%20Harry%20Potter"]'); + $this->assertXPath('//tbody//tr[1]//td//a[@href="mailto:ppoucet@afi.com?subject=Suggestion%20d%27achat%3A%20Harry%20Potter"]'); }