From: Arne Heizmann Date: Mon, 9 Aug 2004 10:02:54 +0000 (+0000) Subject: prevent a warning that occurred because rc_patrolled was undefined when viewing X-Git-Tag: 1.5.0alpha1~2449 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=7820951f7f757dc5e93e3b9e67d14d8b44de85d6;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 );