...
 
Commits (2)
......@@ -7,6 +7,7 @@
* This hack is needed because we are not a native civicrm extension.
*/
function webform_civirules_menu_get_item_alter(&$router_item, $path, $original_map) {
civicrm_initialize();
if ($path == "civicrm/civirules/conditions/webform_civirules_webform_is") {
set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__);
$smarty = CRM_Core_Smarty::singleton();
......