Skip to content

Commit

Permalink
raised WACKO_VERSION to 6.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
vendeeglobe committed Feb 25, 2022
1 parent a2c34ce commit 8f739d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wacko/config/constants.php
Expand Up @@ -84,7 +84,7 @@
const SQL_MODE_PERMISSIVE = 'NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER';

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

Expand Down
7 changes: 2 additions & 5 deletions wacko/handler/page/_comments.php
Expand Up @@ -202,12 +202,9 @@
{
$c = $this->page['comments'];

if ($c < 1)
if (($c < 1) && $this->has_access('comment'))
{
if ($this->has_access('comment'))
{
$show_comments = $this->_t('Comments0');
}
$show_comments = $this->_t('Comments0');
}
else if ($c == 1)
{
Expand Down

0 comments on commit 8f739d0

Please sign in to comment.