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

    r8235 r9498  
    1010                $groups++;
    1111
    12         $query0 = "SELECT ";
     12        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1313
    1414        if ($groups>0)
     
    247247
    248248        $result0 = mysql_query($query0, $db_id);
     249        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    249250
    250251        if ($result0)
    251252        {
    252253            if ($html=="1")
    253                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     254                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    254255            else
    255256                PrintText($result0);
    256257
    257258            mysql_free_result($result0);
     259            mysql_free_result($result1);
    258260        }
    259261        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.