slight bugfix to patrol feature, thanks to maveric149 for finding it
authorArne Heizmann <timwi@users.mediawiki.org>
Sat, 14 Aug 2004 06:40:14 +0000 (06:40 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Sat, 14 Aug 2004 06:40:14 +0000 (06:40 +0000)
includes/Article.php

index 21fe0b3..7fedeee 100644 (file)
@@ -1063,7 +1063,7 @@ class Article {
 
        # Mark this particular edit as patrolled
        function markpatrolled() {
-               global $wgOut, $wgRequest, $wgOnlySysopsCanPatrol, $wgUseRCPatrol;
+               global $wgOut, $wgRequest, $wgOnlySysopsCanPatrol, $wgUseRCPatrol, $wgUser;
                $wgOut->setRobotpolicy( 'noindex,follow' );
 
                if ( !$wgUseRCPatrol )