From 6778fede1b18ae8685efbb105b85fe61f33c1dec Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Thu, 11 Apr 2019 21:48:07 +0100 Subject: [PATCH] TemplateParser: Use operator short cut where necessary Change-Id: I7f9dbe54cec876863920155ccd7cd735a3101481 --- includes/TemplateParser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/TemplateParser.php b/includes/TemplateParser.php index 11a8e85656..fd856bec32 100644 --- a/includes/TemplateParser.php +++ b/includes/TemplateParser.php @@ -62,9 +62,9 @@ class TemplateParser { */ public function enableRecursivePartials( $enable ) { if ( $enable ) { - $this->compileFlags = $this->compileFlags | LightnCandy::FLAG_RUNTIMEPARTIAL; + $this->compileFlags |= LightnCandy::FLAG_RUNTIMEPARTIAL; } else { - $this->compileFlags = $this->compileFlags & ~LightnCandy::FLAG_RUNTIMEPARTIAL; + $this->compileFlags &= ~LightnCandy::FLAG_RUNTIMEPARTIAL; } } -- 2.20.1