dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b599c
)
fixed incorrect use of text->boolean conversion
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 17 Jul 2005 02:14:58 +0000
(
02:14
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 17 Jul 2005 02:14:58 +0000
(
02:14
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
f6849fd
..
48f5123
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-2217,7
+2217,7
@@
class Parser
if ( $title->getNamespace() == NS_SPECIAL && $this->mOptions->getAllowSpecialInclusion() ) {
# Capture special page output
$text = SpecialPage::capturePath( $title );
- if (
$text && !is_object
( $text ) ) {
+ if (
is_string
( $text ) ) {
$found = true;
$noparse = true;
$isHTML = true;