Commit d411e8ed authored by kainuk's avatar kainuk
Browse files

Merge branch 'issue-1' into 'master'

#1 fixes Class 'CRM_Core_Smarty' not found.

See merge request !1
parents 5aa93d25 3b176853
......@@ -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