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