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
HTMLForm: Use <button> and allow differing label and value
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialExport.php
diff --git
a/includes/specials/SpecialExport.php
b/includes/specials/SpecialExport.php
index
642ea69
..
91fef03
100644
(file)
--- a/
includes/specials/SpecialExport.php
+++ b/
includes/specials/SpecialExport.php
@@
-65,7
+65,10
@@
class SpecialExport extends SpecialPage {
*/
$catpages = $this->getPagesFromCategory( $t );
if ( $catpages ) {
- $page .= "\n" . implode( "\n", $catpages );
+ if ( $page !== '' ) {
+ $page .= "\n";
+ }
+ $page .= implode( "\n", $catpages );
}
}
}