Ignore:
Timestamp:
08/20/09 14:43:59 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/datacheck.php

    r9486 r9498  
    2020                $enumgroups++;
    2121
    22         $query0 = "SELECT ";
     22        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    2323
    2424        if ($groups>0)
     
    416416
    417417        $result0 = mysql_query($query0, $db_id);
     418        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    418419
    419420        if ($result0)
    420421        {
    421422            if ($html=="1" || $html=="2")
    422                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     423                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    423424            else
    424425                PrintText($result0);
    425426
    426427            mysql_free_result($result0);
     428            mysql_free_result($result1);
    427429        }
    428430        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.