Merge branch 'master' of github.com:dignajar/bludit

This commit is contained in:
Diego Najar 2018-09-30 13:23:55 +02:00
commit 130dbb22e8
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class pluginDisqus extends Plugin {
if ( !$url->notFound() && if ( !$url->notFound() &&
( $url->whereAmI()=='page' && ( $url->whereAmI()=='page' &&
(($this->getValue('enablePosts') && $page->published()) || (($this->getValue('enablePosts') && $page->published()) ||
($this->getValue('enablePages') && $page->static())) ($this->getValue('enablePages') && $page->isStatic()))
) && ) &&
$page->allowComments() ) { $page->allowComments() ) {
$html = '<div id="disqus_thread"></div>'; $html = '<div id="disqus_thread"></div>';