]> git.agnieray.net Git - galette.git/commitdiff
Display text reference is current language; fixes #1712
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 5 Oct 2023 05:33:53 +0000 (07:33 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 5 Oct 2023 05:33:53 +0000 (07:33 +0200)
galette/lib/Galette/Controllers/TextController.php

index a4d20b951d11b8ff5e88004245e27c09d7e25acc..7219d4a5cb37555cbe6389512112d6d84b5e8afc 100644 (file)
@@ -90,7 +90,7 @@ class TextController extends AbstractController
             [
                 'page_title'        => _T("Automatic emails texts edition"),
                 'texts'             => $texts,
-                'reflist'           => $texts->getRefs(),
+                'reflist'           => $texts->getRefs($lang),
                 'langlist'          => $this->i18n->getList(),
                 'cur_lang'          => $lang,
                 'cur_ref'           => $ref,