aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/specials/SpecialExport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php
index 814d2043bfee..49f6839f2e2d 100644
--- a/includes/specials/SpecialExport.php
+++ b/includes/specials/SpecialExport.php
@@ -326,7 +326,7 @@ class SpecialExport extends SpecialPage {
if( is_null( $title ) ) {
continue; #TODO: perhaps output an <error> tag or something.
}
- if( !$title->userCan( 'read' ) ) {
+ if( !$title->userCan( 'read', $this->getUser() ) ) {
continue; #TODO: perhaps output an <error> tag or something.
}