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

    r9486 r9498  
    88                $statusgroups++;
    99
    10         $query0 = "SELECT ";
     10        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1111
    1212        if ($statusgroups>0)
     
    179179
    180180        $result0 = mysql_query($query0, $db_id);
     181        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    181182
    182183        if ($result0)
    183184        {
    184185            if ($html=="1")
    185                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     186                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    186187            else
    187188                PrintText($result0);
    188189
    189190            mysql_free_result($result0);
     191            mysql_free_result($result1);
    190192        }
    191193        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.