Can't add to a variable if it doesn't exist...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 27 Aug 2008 15:07:30 +0000 (15:07 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 27 Aug 2008 15:07:30 +0000 (15:07 +0000)
includes/specials/SpecialWatchlist.php

index f4f2998..d281cd6 100644 (file)
@@ -269,7 +269,7 @@ function wfSpecialWatchlist( $par ) {
        $links[] = $skin->makeKnownLinkObj( $thisTitle, $label, $linkBits );
 
        # Namespace filter and put the whole form together.
-       $form .= $wlInfo;
+       $form  = $wlInfo;
        $form .= $cutofflinks;
        $form .= implode( ' | ', $links );
        $form .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $thisTitle->getLocalUrl() ) );