X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FWikiTextStructure.php;h=2f3a6f61d1cb4a6ce6145a93e23cf3644d53b7af;hb=25ee9366b06a44087e8f0cba1f2b27324259ef52;hp=0e03e72ef6b5341c7405113331b8248c676f25fe;hpb=390f206158028609fab6c94decad893033c41fd8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/WikiTextStructure.php b/includes/content/WikiTextStructure.php index 0e03e72ef6..2f3a6f61d1 100644 --- a/includes/content/WikiTextStructure.php +++ b/includes/content/WikiTextStructure.php @@ -154,7 +154,7 @@ class WikiTextStructure { 'enableSectionEditTokens' => false, 'allowTOC' => false, ] ); - if ( strlen( $text ) == 0 ) { + if ( $text === '' ) { $this->allText = ""; // empty text - nothing to seek here return;