Skip to content

Commit 8f739d0

Browse files
committed
raised WACKO_VERSION to 6.1.7
1 parent a2c34ce commit 8f739d0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

wacko/config/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
const SQL_MODE_PERMISSIVE = 'NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER';
8585

8686
// Do not change these three lines, PLEASE-PLEASE. In fact, don't change anything! Ever!
87-
const WACKO_VERSION = '6.1.6';
87+
const WACKO_VERSION = '6.1.7';
8888
const HTML_ENTITIES_CHARSET = 'UTF-8';
8989
const XML_HTMLSAX3 = 'lib/HTMLSax3/';
9090

wacko/handler/page/_comments.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,9 @@
202202
{
203203
$c = $this->page['comments'];
204204

205-
if ($c < 1)
205+
if (($c < 1) && $this->has_access('comment'))
206206
{
207-
if ($this->has_access('comment'))
208-
{
209-
$show_comments = $this->_t('Comments0');
210-
}
207+
$show_comments = $this->_t('Comments0');
211208
}
212209
else if ($c == 1)
213210
{

0 commit comments

Comments
 (0)