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