From 7820951f7f757dc5e93e3b9e67d14d8b44de85d6 Mon Sep 17 00:00:00 2001 From: Arne Heizmann Date: Mon, 9 Aug 2004 10:02:54 +0000 Subject: [PATCH] prevent a warning that occurred because rc_patrolled was undefined when viewing the watchlist because the watchlist uses 'fake' recentchanges rows that it constructs from rows that actually come from cur, not recentchanges. --- includes/RecentChange.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/RecentChange.php b/includes/RecentChange.php index dd0370e1f1..fbe1161e63 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -344,6 +344,8 @@ class RecentChange 'rc_moved_to_ns' => 0, 'rc_moved_to_title' => '', 'rc_ip' => '', + 'rc_patrolled' => '1', # we can't support patrolling on the Watchlist + # currently because it uses cur, not recentchanges 'rc_new' => $row->cur_is_new # obsolete ); -- 2.20.1