From 5951b2b41cc571f3b4a6516ba5054b4616197a40 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 16 Dec 2015 23:29:09 +0100 Subject: [PATCH] r20151216 YOU THOUGHT HE WAS GONE Signed-off-by: Flashwave --- libraries/Forum/Thread.php | 2 +- sakura.php | 2 +- templates/yuuno/forum/forumBtns.tpl | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/Forum/Thread.php b/libraries/Forum/Thread.php index 731c6d1..79b29a0 100644 --- a/libraries/Forum/Thread.php +++ b/libraries/Forum/Thread.php @@ -117,7 +117,7 @@ class Thread { // Check if the cache var is set if ($this->_lastPost !== null) { - return $this->_firstPost; + return $this->_lastPost; } // Get the row from the database diff --git a/sakura.php b/sakura.php index 79140ea..578e9d0 100644 --- a/sakura.php +++ b/sakura.php @@ -8,7 +8,7 @@ namespace Sakura; // Define Sakura version -define('SAKURA_VERSION', '20151213'); +define('SAKURA_VERSION', '20151216'); define('SAKURA_VLABEL', 'Eminence'); define('SAKURA_COLOUR', '#6C3082'); diff --git a/templates/yuuno/forum/forumBtns.tpl b/templates/yuuno/forum/forumBtns.tpl index 252afa7..7a875b7 100644 --- a/templates/yuuno/forum/forumBtns.tpl +++ b/templates/yuuno/forum/forumBtns.tpl @@ -7,6 +7,7 @@ {% endif %} {% if forumReplyLink %} Reply + Refresh {% endif %} {% if forumNewLink %} New Thread