Index: trunk/phpwiki/newcodebase/SpecialAsksql.php |
— | — | @@ -70,7 +70,7 @@ |
71 | 71 | $res = wfQuery( $wpSqlQuery, "SpecialAsksql::doSubmit" ); |
72 | 72 | |
73 | 73 | $n = 0; |
74 | | - $n = wfNumRows( $res ); |
| 74 | + @$n = wfNumFields( $res ); |
75 | 75 | if ( $n ) { |
76 | 76 | $k = array(); |
77 | 77 | for ( $x = 0; $x < $n; ++$x ) { |