Skip to content
Snippets Groups Projects
Commit 6ae9152f authored by Kevin Kaland's avatar Kevin Kaland
Browse files

Issue #1266174: Make sure Rules is enabled.

parent abbeae9a
No related branches found
No related tags found
No related merge requests found
......@@ -619,7 +619,9 @@ function fillpdf_save_to_file($pdf_info, $pdf_data, $token_objects, $output_name
* Set up the data then invoke the Rules event.
*/
function fillpdf_fillpdf_merge_pre_handle($fillpdf) {
rules_invoke_event('fillpdf_merge_pre_handle', $fillpdf);
if (module_exists('rules')) {
rules_invoke_event('fillpdf_merge_pre_handle', $fillpdf);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment