CRM_Price_BAO_PriceSet::copyPriceSet('civicrm_contribution_page', $id, $copy->id);
$copyTellFriend = &CRM_Core_DAO::copyGeneric('CRM_Friend_DAO_Friend', array(
- 'entity_id' => $id,
- 'entity_table' => 'civicrm_contribution_page',
- ), array(
- 'entity_id' => $copy->id,
- ));
+ 'entity_id' => $id,
+ 'entity_table' => 'civicrm_contribution_page',
+ ), array(
+ 'entity_id' => $copy->id,
+ ));
$copyPersonalCampaignPages = &CRM_Core_DAO::copyGeneric('CRM_PCP_DAO_PCPBlock', array(
- 'entity_id' => $id,
- 'entity_table' => 'civicrm_contribution_page',
- ), array(
- 'entity_id' => $copy->id,
- 'target_entity_id' => $copy->id,
- ));
+ 'entity_id' => $id,
+ 'entity_table' => 'civicrm_contribution_page',
+ ), array(
+ 'entity_id' => $copy->id,
++ 'target_entity_id' => $copy->id,
+ ));
$copyPremium = &CRM_Core_DAO::copyGeneric('CRM_Contribute_DAO_Premium', array(
- 'entity_id' => $id,
- 'entity_table' => 'civicrm_contribution_page',
- ), array(
- 'entity_id' => $copy->id,
- ));
+ 'entity_id' => $id,
+ 'entity_table' => 'civicrm_contribution_page',
+ ), array(
+ 'entity_id' => $copy->id,
+ ));
$premiumQuery = "
SELECT id
FROM civicrm_premiums