Renaming columns:
[lhc/web/wiklou.git] / includes / SpecialStatistics.php
index ee716e6..91d845c 100644 (file)
@@ -46,7 +46,7 @@ function wfSpecialStatistics() {
        $row = $dbr->fetchObject( $res );
        $total = $row->total;
 
-       $sql = "SELECT COUNT(ur_uid) AS total FROM $user_rights WHERE ur_rights LIKE '%sysop%'";
+       $sql = "SELECT COUNT(ur_user) AS total FROM $user_rights WHERE ur_rights LIKE '%sysop%'";
        $res = $dbr->query( $sql, $fname );
        $row = $dbr->fetchObject( $res );
        $admins = $row->total;