You are here

function casetracker_node_presave in Case Tracker 7

Implements hook_node_presav().

File

./casetracker.module, line 199
Enables the handling of projects and their cases.

Code

function casetracker_node_presave($node) {
  if (casetracker_is_case($node->type)) {
    $node->casetracker = (object) $node->casetracker;
  }
}