diff --git a/uc_coupon_workflow/uc_coupon_workflow.module b/uc_coupon_workflow/uc_coupon_workflow.module
index 218a220..9c88eb1 100644
--- a/uc_coupon_workflow/uc_coupon_workflow.module
+++ b/uc_coupon_workflow/uc_coupon_workflow.module
@@ -103,7 +103,7 @@ function uc_coupon_workflow_suspend_element($events = FALSE) {
     foreach ($rules as $name => $rule) {
       if ($rule instanceof RulesReactionRule && $rule->active) {
         foreach ($rule->conditions() as $condition) {
-          if ($condition->getElementName() == 'uc_coupon_workflow_suspended' && (!$events || count(array_intersect($rule->events(), $events)))) {
+          if (method_exists($condition, 'getElementName') && $condition->getElementName() == 'uc_coupon_workflow_suspended' && (!$events || count(array_intersect($rule->events(), $events)))) {
               $found[] = $rule->label;
           }
         }
