From 9b0054146e4f7a2966608b3f9eebfc53e7844c28 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 14 Aug 2005 16:28:25 +0000 Subject: [PATCH] fixed obvious error --- includes/PageHistory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/PageHistory.php b/includes/PageHistory.php index f06bf62699..d4a87cdd93 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -395,10 +395,10 @@ class PageHistory { $n = $dbr->numRows( $res ); $last = null; - while( $obj = $db->fetchObject( $res ) ) { + while( $obj = $dbr->fetchObject( $res ) ) { $last = $obj->rev_timestamp; } - $db->freeResult( $res ); + $dbr->freeResult( $res ); return $last; } -- 2.20.1