You are here

function contribute_get_node_budget in Contribute 6

1 call to contribute_get_node_budget()
contribute_nodeapi in ./contribute.module

File

./contribute.module, line 401
Lets users contribute to projects

Code

function contribute_get_node_budget($nid) {
  $result = db_query('SELECT budget FROM {contribute_contribution_recipients} WHERE nid=%d', $nid);
  return db_result($result);
}