ShowController: fix history links for hex source

This commit is contained in:
Thomas Gelf 2016-02-05 15:58:02 +01:00
parent 72b1f01592
commit bbc90710cb
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class ShowController extends ActionController
$this->view->entry = $this->db()->fetchActivityLogEntryById($id);
} elseif ($checksum = $this->params->get('checksum')) {
$this->view->entry = $this->db()->fetchActivityLogEntry(Util::hex2binary($checksum));
$id = $this->view->entry->id;
}
$this->view->neighbors = $this->db()->getActivitylogNeighbors(