Page MenuHomeIn-Portal Phabricator

D195.id1112.diff
No OneTemporary

File Metadata

Created
Thu, Jul 3, 9:25 AM

D195.id1112.diff

Index: branches/5.2.x/units/products/products_tag_processor.php
===================================================================
--- branches/5.2.x/units/products/products_tag_processor.php
+++ branches/5.2.x/units/products/products_tag_processor.php
@@ -297,7 +297,8 @@
$link_params = Array('m_cat_id' => $object->GetDBField('CategoryId'), 'pass' => 'm,p,ord', 'ord_event' => 'OnAddToCart');
}
- $this->Application->SetVar('p_id', $this->Application->GetVar($this->getPrefixSpecial().'_id'));
+ $link_params['p_id'] = $object->GetID();
+
return $this->Application->HREF($t, '', $link_params);
}

Event Timeline