--- a/documents/view.php +++ b/documents/view.php @@ -1,6 +1,5 @@ <?php include('template.inc.php'); -include_header_documents(""); include_once('../include/common.inc.php'); ?> <?php @@ -17,6 +16,8 @@ try { $obj = new stdClass(); $obj->value = $foidocsdb->get($_REQUEST['id']); + include_header_documents($obj->value->title); + echo displayLogEntry($obj,$idtoname); } catch (SetteeRestClientException $e) {