diff --git a/registration.module b/registration.module index 7fcb111..da9d5ab 100644 --- a/registration.module +++ b/registration.module @@ -1072,6 +1072,7 @@ function registration_status($entity_type, $entity_id, $reset = FALSE, $slots = return $checked[$entity_type][$entity_id]['status']; } + $entity = entity_load($entity_type, array($entity_id)); $registration_type = registration_get_entity_registration_type($entity_type, $entity); // bypass further access checks if user can administer registration if (user_access('administer registration') || user_access("administer $registration_type registration")) {