Index: trunk/extensions/FileAttach/FileAttach.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | if( $attachto = $wgRequest->getText( 'attachto', '' ) ) { |
97 | 97 | self::$uploadForm = true; |
98 | 98 | $title = Title::newFromText( $attachto ); |
99 | | - self::$attachto = new Article( $title ); |
| 99 | + self::$attachto = new Article( $title, 0 ); |
100 | 100 | $wgHooks['SpecialUploadComplete'][] = 'FileAttach::onSpecialUploadComplete'; |
101 | 101 | } |
102 | 102 | return true; |