condition_used() && !empty($node->book['bid'])) { $type = db_select('node') ->fields('node', array('type')) ->condition('nid', $node->book['bid']) ->execute() ->fetchField(); $book = new stdClass(); $book->type = $type; parent::execute($book, $op); } } }