Historical list of subscription shows empty member type if not recorded
This commit is contained in:
daraelmin 2020-09-15 22:23:22 +02:00 committed by GitHub
parent 7cbc621f6b
commit 8b928a110e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}