Code refactoring

This commit is contained in:
2014-02-28 17:58:15 +11:00
parent 481c8251e5
commit e690d5b8c8
2 changed files with 32 additions and 40 deletions

View File

@@ -1525,13 +1525,13 @@ function booking_view($node, $view_mode) {
);
}
//TODO: Put study group info here too
$node->content['details'] = array(
'#markup' => theme('table', array('header' => $header, 'rows' => $rows)),
'#weight' => 1,
);
return $node;
//all finished, let's render this mess
return $node;
}