From: Derick Alangi Date: Thu, 11 Apr 2019 20:48:07 +0000 (+0100) Subject: TemplateParser: Use operator short cut where necessary X-Git-Tag: 1.34.0-rc.0~2048^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=6778fede1b18ae8685efbb105b85fe61f33c1dec TemplateParser: Use operator short cut where necessary Change-Id: I7f9dbe54cec876863920155ccd7cd735a3101481 --- 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; } }