From bbc90710cb45cb60aaae31928d73c94006baff5c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 5 Feb 2016 15:58:02 +0100 Subject: [PATCH] ShowController: fix history links for hex source --- application/controllers/ShowController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/ShowController.php b/application/controllers/ShowController.php index 9495be98..bf9a0603 100644 --- a/application/controllers/ShowController.php +++ b/application/controllers/ShowController.php @@ -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(