Changeset 17707


Ignore:
Timestamp:
04/28/14 11:33:08 (11 years ago)
Author:
tbretz
Message:
Adapted table name from measurement to Measurement
Location:
trunk/FACT++/www/schedule
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/schedule/load.php

    r17701 r17707  
    5454query("SELECT DISTINCT(DATE(ADDTIME(fStart, '-12:00'))) AS 'd' FROM Schedule");
    5555query("SELECT fSourceKEY AS 'key', fSourceName AS 'val' FROM Source WHERE fSourceTypeKEY=1");
    56 query("SELECT fMeasurementKEY AS 'key', fMeasurement AS 'val' FROM measurement");
     56query("SELECT fMeasurementKEY AS 'key', fMeasurement AS 'val' FROM Measurement");
    5757query("SELECT * FROM Schedule WHERE DATE(ADDTIME(fStart, '-12:00:00')) = '".$_POST['n']."'".$cut."ORDER BY fScheduleID ASC, fMeasurementID ASC");
    5858
  • trunk/FACT++/www/schedule/save.php

    r17705 r17707  
    139139    die(mysql_error());
    140140
    141 $query = "SELECT * FROM measurement";
     141$query = "SELECT * FROM Measurement";
    142142
    143143$sql = mysql_query($query);
     
    206206    $v = $row[3]; // value
    207207
     208    // Check if task need source or must not have a source
    208209    if ($measurements[$m]['fNeedsSource']==true && $s==0)
    209210        die("Task '".$measurements[$m]['fMeasurement']."' needs source.\n[".$t."|".$id."]");
Note: See TracChangeset for help on using the changeset viewer.