Fix diff/history links not showing up for ungrouped enhanced RC
authorKunal Mehta <legoktm@gmail.com>
Wed, 28 Oct 2015 20:48:46 +0000 (13:48 -0700)
committerKunal Mehta <legoktm@gmail.com>
Wed, 28 Oct 2015 20:48:46 +0000 (13:48 -0700)
Looks like a typo or accident from d40cd42b9f960c.

Bug: T116899
Change-Id: I33b65afa78480612b9312282922686a64346fef2

includes/changes/EnhancedChangesList.php

index b59437e..0883982 100644 (file)
@@ -608,7 +608,7 @@ class EnhancedChangesList extends ChangesList {
                }
 
                # Diff and hist links
-               if ( $type  == RC_LOG && $type != RC_CATEGORIZE ) {
+               if ( $type != RC_LOG && $type != RC_CATEGORIZE ) {
                        $query['action'] = 'history';
                        $data['historyLink'] = $this->getDiffHistLinks( $rcObj, $query );
                }