diff --git a/voting_rules.module b/voting_rules.module index 76c6f0b..ace1b1f 100644 --- a/voting_rules.module +++ b/voting_rules.module @@ -63,6 +63,7 @@ function voting_rules_votingapi_results($cached, $entity_type, $entity_id) { */ function voting_rules_load_entity($entity_type, $entity_id) { switch ($entity_type) { + case 'advpoll': case 'node': return node_load($entity_id);