From: Aaron Schulz Date: Thu, 22 Mar 2007 03:43:13 +0000 (+0000) Subject: *Fix row count bug causing log extracts to show "no results" X-Git-Tag: 1.31.0-rc.0~53646 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=ffdbc009f0943379311fa59213991bb9498157bc;p=lhc%2Fweb%2Fwiklou.git *Fix row count bug causing log extracts to show "no results" --- diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index 302b196397..185eb90a11 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -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 ); }