From 3c9ae9718345a98749df262038c3fa663ba2d176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20de=20Grandpr=C3=A9?= Date: Tue, 4 Apr 2023 15:31:06 -0400 Subject: [PATCH] Edit button now available on subscription card when Bank module disabled. --- htdocs/adherents/subscription/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/subscription/card.php b/htdocs/adherents/subscription/card.php index b97fac372e5..549de2afaeb 100644 --- a/htdocs/adherents/subscription/card.php +++ b/htdocs/adherents/subscription/card.php @@ -352,7 +352,7 @@ if ($rowid && $action != 'edit') { print '
'; if ($user->hasRight('adherent', 'cotisation', 'creer')) { - if (!empty($bankline->rappro)) { + if (!empty($bankline->rappro) || empty($bankline)) { print '"; } else { print '";