*Fix row count bug causing log extracts to show "no results"
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 22 Mar 2007 03:43:13 +0000 (03:43 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 22 Mar 2007 03:43:13 +0000 (03:43 +0000)
includes/SpecialLog.php

index 302b196..185eb90 100644 (file)
@@ -290,8 +290,9 @@ class LogViewer {
         * @param OutputPage $out where to send output
         */
        function showList( &$out ) {
+               $result = $this->getLogRows();
                if ( $this->numResults > 0 ) {
-                       $this->doShowList( $out, $this->getLogRows() );
+                       $this->doShowList( $out, $result );
                } else {
                        $this->showError( $out );
                }