From 8b928a110e727e77483fa76b63b7d0b707463d4d Mon Sep 17 00:00:00 2001 From: daraelmin Date: Tue, 15 Sep 2020 22:23:22 +0200 Subject: [PATCH] FIX #14746 Historical list of subscription shows empty member type if not recorded --- htdocs/adherents/subscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/subscription.php b/htdocs/adherents/subscription.php index 63da0be8677..c4a28c63d86 100644 --- a/htdocs/adherents/subscription.php +++ b/htdocs/adherents/subscription.php @@ -628,7 +628,7 @@ if ($rowid > 0) { $subscriptionstatic->ref = $objp->crowid; $subscriptionstatic->id = $objp->crowid; - $typeid = ($objp->cfk_type > 0 ? $objp->cfk_type : $adh->typeid); + $typeid = $objp->cfk_type; if ($typeid > 0) { $adht->fetch($typeid); }