Index: trunk/extensions/ForcePreview/ForcePreview.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | return true; |
44 | 44 | } |
45 | 45 | |
46 | | -function efForcePreviewLivePreview( &$out, $sk ) { |
| 46 | +function efForcePreviewLivePreview( &$out, $sk = null ) { |
47 | 47 | global $wgUser, $wgRequest, $wgLivePreview, $wgTitle; |
48 | 48 | if(!$wgLivePreview || !$wgTitle->userCan('edit', true) ) |
49 | 49 | return true; |