Spaces to tabs
[lhc/web/wiklou.git] / includes / ChangeTags.php
index 1091aaa..4a1ad80 100644 (file)
@@ -169,7 +169,7 @@ class ChangeTags {
 
                $html = implode( ' ', $data );
                $html .= "\n" . Xml::element( 'input', array( 'type' => 'submit', 'value' => wfMsg( 'tag-filter-submit' ) ) );
-               $html .= "\n" . Xml::hidden( 'title', $wgTitle-> getPrefixedText() );
+               $html .= "\n" . Html::hidden( 'title', $wgTitle-> getPrefixedText() );
                $html = Xml::tags( 'form', array( 'action' => $wgTitle->getLocalURL(), 'method' => 'get' ), $html );
 
                return $html;
@@ -180,8 +180,8 @@ class ChangeTags {
                // Caching...
                global $wgMemc;
                $key = wfMemcKey( 'valid-tags' );
-
-               if ( $tags = $wgMemc->get( $key ) ) {
+               $tags = $wgMemc->get( $key );
+               if ( $tags ) {
                        return $tags;
                }