From: Tim Starling Date: Sun, 14 Aug 2005 16:28:25 +0000 (+0000) Subject: fixed obvious error X-Git-Tag: 1.6.0~1977 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=9b0054146e4f7a2966608b3f9eebfc53e7844c28;p=lhc%2Fweb%2Fwiklou.git fixed obvious error --- 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; }