Index: branches/5.2.x/units/affiliates/affiliates_event_handler.php =================================================================== diff -u -N -r16516 -r16805 --- branches/5.2.x/units/affiliates/affiliates_event_handler.php (.../affiliates_event_handler.php) (revision 16516) +++ branches/5.2.x/units/affiliates/affiliates_event_handler.php (.../affiliates_event_handler.php) (revision 16805) @@ -1,6 +1,6 @@ Load($affiliate, 'AffiliateCode'); } elseif ( $affiliate_storage_method == 2 ) { - $affiliate_id = $this->Application->GetVar('affiliate_id'); + $affiliate_id = $this->Application->GetVarDirect('affiliate_id', 'Cookie'); $object->Load($affiliate_id); }