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/dbstatus.php

    r9486 r9498  
    5151                $statusgroups++;
    5252
    53         $query0 = "SELECT ";
     53        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    5454
    5555        if ($groups>0)
     
    355355
    356356        $result0 = mysql_query($query0, $db_id);
     357        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    357358
    358359        if ($result0)
    359360        {
    360361            if ($html=="1" || $html=="2")
    361                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     362                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    362363            else
    363364                PrintText($result0);
    364365
    365366            mysql_free_result($result0);
     367            mysql_free_result($result1);
    366368        }
    367369        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.