From ffdbc009f0943379311fa59213991bb9498157bc Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 22 Mar 2007 03:43:13 +0000 Subject: [PATCH] *Fix row count bug causing log extracts to show "no results" --- includes/SpecialLog.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.20.1