You are here

function answers_load in Answers 5.2

File

./answers.module, line 176
Enables the creation of question nodes that can be answered by posting answer nodes.

Code

function answers_load($node) {
  $questdetails = db_fetch_object(db_query('SELECT * FROM {quests} WHERE vid = %d', $node->vid));
  $questdetails->comment = COMMENT_NODE_DISABLED;
  return $questdetails;
}