The load signup data action does not work.
It is because of a variable typo in the following block of code:
/**
* Action: Load signup data.
*/
function signup_rules_action_load_signup($node, $user) {
$query = db_query('SELECT sl.*, n.title, u.name, u.mail FROM {signup_log} sl INNER JOIN {node} n ON sl.nid = n.nid INNER JOIN {users} u ON sl.uid = u.uid WHERE sl.nid = %d AND sl.uid = %d', $node->nid, $user->uid);
if ($signup = db_fetch_object($result)) {
return array('signup_loaded' => $signup);
}
return;
}
The query is returned to "query" but then fetches an object from "result"
ONe of these needs to be renamed because these need to be the same.
Kind of a big deal as it means this rule is unusable.