* (bug 1469) add missing <ul> tags on Special:Log
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 5 Feb 2005 11:34:42 +0000 (11:34 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 5 Feb 2005 11:34:42 +0000 (11:34 +0000)
Patch from wegge

includes/SpecialLog.php

index 009f538..1fb685a 100644 (file)
@@ -231,12 +231,13 @@ class LogViewer {
         * @param OutputPage $out where to send output
         */
        function showList( &$out ) {
-               $html = "";
+               $html = "\n<ul>\n";
                $result = $this->reader->getRows();
                while( $s = $result->fetchObject() ) {
                        $html .= $this->logLine( $s );
                }
                $result->free();
+               $html .= "\n</ul>\n";
                $out->addHTML( $html );
        }