Changeset 10


Ignore:
Timestamp:
Oct 16, 2007, 10:32:40 PM (17 years ago)
Author:
george
Message:

Oprava překlepu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stat_functions.php

    r9 r10  
    6161  //$Value = round($Measure['divider'] * $Value);
    6262
    63   $Result = $Databse->select($Measure['DataTable'], '*', 'measure='.$Measure['Id'].' AND level=0 ORDER BY time DESC LIMIT 2');
     63  $Result = $Database->select($Measure['DataTable'], '*', 'measure='.$Measure['Id'].' AND level=0 ORDER BY time DESC LIMIT 2');
    6464  if($Result->num_rows == 0) $Database->insert($Measure['DataTable'], array('min' => $Value, 'avg' => $Value, 'max' => $Value, 'level' => 0, 'measure' => $Measure['Id'], 'time' => TimeToMysqlDateTime($Time),
    6565    'continuity' => 0));
Note: See TracChangeset for help on using the changeset viewer.