From f670705a4203b0bd8936af79535d65c16bb94bb6 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 22 Apr 2010 01:16:03 +0000 Subject: [PATCH] Removed redundant check if diffButtons() --- includes/HistoryPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index e515d3dd86..e791af4c7a 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -700,7 +700,7 @@ class HistoryPager extends ReverseChronologicalPager { if( !$rev->userCan( Revision::DELETED_TEXT ) ) { $radio['disabled'] = 'disabled'; $checkmark = array(); // We will check the next possible one - } else if( $counter == 2 || !$this->oldIdChecked ) { + } else if( !$this->oldIdChecked ) { $checkmark = array( 'checked' => 'checked' ); $this->oldIdChecked = $id; } else { -- 2.20.1