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

    r9486 r9498  
    88                $statusgroups++;
    99
    10         $query0 = "SELECT ";
     10        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1111
    1212        if ($statusgroups>0)
     
    192192
    193193        $result0 = mysql_query($query0, $db_id);
     194        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    194195
    195196        if ($result0)
    196197        {
    197198            if ($html=="1")
    198                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     199                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    199200            else
    200201                PrintText($result0);
    201202
    202203            mysql_free_result($result0);
     204            mysql_free_result($result1);
    203205        }
    204206        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.