GitInfo: Don't try shelling out if it's disabled
[lhc/web/wiklou.git] / includes / changetags / ChangeTagsRevisionItem.php
index e90a1b4..2a98e20 100644 (file)
@@ -46,10 +46,14 @@ class ChangeTagsRevisionItem extends RevisionItem {
                }
 
                $content = "$difflink $revlink $userlink $comment";
-               $attribs = array();
+               $attribs = [];
                $tags = $this->getTags();
                if ( $tags ) {
-                       list( $tagSummary, $classes ) = ChangeTags::formatSummaryRow( $tags, 'edittags' );
+                       list( $tagSummary, $classes ) = ChangeTags::formatSummaryRow(
+                               $tags,
+                               'edittags',
+                               $this->list->getContext()
+                       );
                        $content .= " $tagSummary";
                        $attribs['class'] = implode( ' ', $classes );
                }