dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Corrected grammatical error."
[lhc/web/wiklou.git]
/
includes
/
content
/
WikiTextStructure.php
diff --git
a/includes/content/WikiTextStructure.php
b/includes/content/WikiTextStructure.php
index
0e03e72
..
2f3a6f6
100644
(file)
--- 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;