Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -724,8 +724,6 @@ |
725 | 725 | * @return string |
726 | 726 | */ |
727 | 727 | protected function showFormatOptions( $format, array $paramValues ) { |
728 | | - $text = ''; |
729 | | - |
730 | 728 | $printer = SMWQueryProcessor::getResultPrinter( $format, SMWQueryProcessor::SPECIAL_PAGE ); |
731 | 729 | |
732 | 730 | $params = method_exists( $printer, 'getValidatorParameters' ) ? $printer->getValidatorParameters() : array(); |
— | — | @@ -772,8 +770,9 @@ |
773 | 771 | ), |
774 | 772 | $rowHtml |
775 | 773 | ); |
| 774 | + |
776 | 775 | $rowHtml = ''; |
777 | | - } |
| 776 | + } |
778 | 777 | |
779 | 778 | return $resultHtml; |
780 | 779 | } |