diff --git a/includes/node_form.inc b/includes/node_form.inc index c85dfb1..4749556 100644 --- a/includes/node_form.inc +++ b/includes/node_form.inc @@ -91,7 +91,7 @@ function signup_save_node($node, $op) { if (module_exists('content')) { cache_clear_all('content:' . $node->nid . ':' . $node->vid, content_cache_tablename()); } - if (_signup_node_completed($node) && !empty($node->signup_status)) { + if (!empty($node->signup_status) && _signup_node_completed($node)) { // If this is an time-based node, and it's already past the close in // advance time (e.g. someone just changed the node start time), and // signups are still open, close them now.