Skip to content

Commit

Permalink
Fix bad id
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 25, 2019
1 parent 27be93f commit 5f17cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/adherents/subscription.php
Expand Up @@ -718,7 +718,7 @@
$subscriptionstatic->ref=$objp->crowid;
$subscriptionstatic->id=$objp->crowid;

$typeid = ($objp->cfk_type > 0 ? $objp->cfk_type : $objp->typeid);
$typeid = ($objp->cfk_type > 0 ? $objp->cfk_type : $adh->typeid);
if ($typeid > 0)
{
$adht->fetch($typeid);
Expand Down

0 comments on commit 5f17cfe

Please sign in to comment.