potentially uninitialized variable fixed
authorMr. E23 <e23@users.mediawiki.org>
Thu, 29 Jan 2004 03:00:20 +0000 (03:00 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Thu, 29 Jan 2004 03:00:20 +0000 (03:00 +0000)
includes/SpecialRecentchanges.php

index fcd784c..abd7d45 100644 (file)
@@ -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; 
        }