From: Mr. E23 Date: Thu, 29 Jan 2004 03:00:20 +0000 (+0000) Subject: potentially uninitialized variable fixed X-Git-Tag: 1.3.0beta1~1080 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4dc1f7cce6fa1759a99566698265c3a025fa1f13;p=lhc%2Fweb%2Fwiklou.git potentially uninitialized variable fixed --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index fcd784c1f4..abd7d45c3d 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -93,6 +93,7 @@ function wfSpecialRecentchanges( $par ) "ORDER BY rc_timestamp DESC LIMIT {$limit}"; $res = wfQuery( $sql2, DB_READ, $fname ); + $rows = array(); while( $row = wfFetchObject( $res ) ){ $rows[] = $row; }