Set $parentLen in contributions
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 24 Oct 2013 20:25:10 +0000 (22:25 +0200)
committerReedy <reedy@wikimedia.org>
Thu, 24 Oct 2013 20:52:21 +0000 (20:52 +0000)
Follow-up to I77dd45eb.

Bug: 56115
Change-Id: I17bd160577e6b287cc5a61e2a3b983b035c87f81

includes/specials/SpecialContributions.php

index 0f910a5..1fe9819 100644 (file)
@@ -954,7 +954,7 @@ class ContribsPager extends ReverseChronologicalPager {
                        } else {
                                $parentLen = 0;
                                if ( isset( $this->mParentLens[$row->rev_parent_id] ) ) {
-                                       $this->mParentLens[$row->rev_parent_id];
+                                       $parentLen = $this->mParentLens[$row->rev_parent_id];
                                }
 
                                $chardiff = ' <span class="mw-changeslist-separator">. .</span> ';