From 0a360ca59eae477d89815d134c5b3f65011bce60 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 12 Dec 2010 17:50:35 +0000 Subject: [PATCH] && not and, || not or --- includes/SkinTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 6ec0d2082c..d420116ca5 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -344,8 +344,8 @@ class SkinTemplate extends Skin { $tpl->setRef( 'newtalk', $newtalks ); $tpl->setRef( 'skin', $this ); $tpl->set( 'logo', $this->logoText() ); - if ( $out->isArticle() and ( !isset( $oldid ) or isset( $diff ) ) and - $wgArticle and 0 != $wgArticle->getID() ){ + if ( $out->isArticle() && ( !isset( $oldid ) || isset( $diff ) ) && + $wgArticle && 0 != $wgArticle->getID() ){ if ( !$wgDisableCounters ) { $viewcount = $wgLang->formatNum( $wgArticle->getCount() ); if ( $viewcount ) { -- 2.20.1