From 9678ee536d6c6b640ed4eeab08f06ebea22a2deb Mon Sep 17 00:00:00 2001 From: Benoit Vianin <16624067+benvia@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:00:16 +0000 Subject: [PATCH] Fix set INVOICE_ADD_SWISS_QR_CODE to bottom on module activation --- core/modules/modSwissqr.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/modSwissqr.class.php b/core/modules/modSwissqr.class.php index 348d1b4..773ca13 100644 --- a/core/modules/modSwissqr.class.php +++ b/core/modules/modSwissqr.class.php @@ -153,8 +153,8 @@ class modSwissqr extends DolibarrModules // 2 => array('SWISSQR_MYNEWCONST2', 'chaine', 'myvalue', 'This is another constant to add', 0, 'current', 1) // ); $this->const = array( - 1 => array('INVOICE_ADD_SWISS_QR_CODE', 'chaine', 'bottom', '', 1) + 1 => array('INVOICE_ADD_SWISS_QR_CODE', 'chaine', 'bottom', '', 0, 'current', 1) ); // error_log("You messed up!", 0); } -} +} \ No newline at end of file