X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTemplateParser.php;h=fd856bec321b656d6b9e58b6d47aea6e35d2b134;hb=4d6828ef7835b7c5c5e903637fcba4bf5c487e1b;hp=11a8e85656ab24bb171088fa22288f7c5ad60c2e;hpb=2b14cc0096de48b4863ea7daee55951701f6dc99;p=lhc%2Fweb%2Fwiklou.git 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; } }