X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FPreprocessor_Hash.php;h=8a4637ea1e5f580053de92e8caaa98d750eaeac4;hb=fbd3835e583f44166f71d174ba32adaf5c3af4b3;hp=012288fa4c237284140e7091c37a146ef52c33ec;hpb=c1a68dd7bca2719bb9e3acb304ce8b7ac2965a78;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/Preprocessor_Hash.php b/includes/parser/Preprocessor_Hash.php index 012288fa4c..8a4637ea1e 100644 --- a/includes/parser/Preprocessor_Hash.php +++ b/includes/parser/Preprocessor_Hash.php @@ -475,7 +475,7 @@ class Preprocessor_Hash extends Preprocessor { } elseif ( $found == 'line-end' ) { $piece = $stack->top; // A heading must be open, otherwise \n wouldn't have been in the search list - assert( '$piece->open == "\n"' ); + assert( $piece->open === "\n" ); $part = $piece->getCurrentPart(); // Search back through the input to see if it has a proper close. // Do this using the reversed string since the other solutions