r1231 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r1230‎ | r1231 | r1232 >
Date:16:34, 13 March 2003
Author:vibber
Status:old
Tags:
Comment:
Fix rum fields/rows error
Modified paths:
  • /trunk/phpwiki/newcodebase/SpecialAsksql.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/newcodebase/SpecialAsksql.php
@@ -70,7 +70,7 @@
7171 $res = wfQuery( $wpSqlQuery, "SpecialAsksql::doSubmit" );
7272
7373 $n = 0;
74 - $n = wfNumRows( $res );
 74+ @$n = wfNumFields( $res );
7575 if ( $n ) {
7676 $k = array();
7777 for ( $x = 0; $x < $n; ++$x ) {

Status & tagging log