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

    r9486 r9498  
    33    function CreateQuery($_GET, $alias, $checkstatusgroup, $checkwhere, $needs)
    44    {
    5         $query0 = "SELECT ";
     5        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    66
    77        $statusgroups = 0;
     
    203203
    204204        $result0 = mysql_query($query0, $db_id);
     205        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    205206
    206207        if ($result0)
    207208        {
    208209            if ($html=="1")
    209                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     210                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    210211            else
    211212                PrintText($result0);
    212213
    213214            mysql_free_result($result0);
     215            mysql_free_result($result1);
    214216        }
    215217        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.