Commit 3b176853 authored by Klaas Eikelboom's avatar Klaas Eikelboom
Browse files

#1 fixes Class 'CRM_Core_Smarty' not found.

parent 5aa93d25
......@@ -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) {
if ($path == "civicrm/civirules/conditions/webform_civirules_webform_is") {
set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__);
$smarty = CRM_Core_Smarty::singleton();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment