#29758 removed extra path for redirect
[com.zyxware.civiwci.git] / extern / wciwidget.php
index 50b820dd50f63f46f1f4a2ff1ad935eb0dc315e3..a44ea7184e8ef568208210e8a4ac961a46fd07ce 100644 (file)
@@ -59,6 +59,7 @@ if (isset($embed) && (true == $embed)) {
 } else {
   $data = CRM_Wci_BAO_Widget::getWidgetData($widgetId);
   $template->assign('wciform', $data);
+  $template->assign('cpageId', $data['button_link_to']);
 
   $template->template_dir[] = getWciWidgetTemplatePath();
   $wcidata = $template->fetch('wciwidget.tpl');