Changeset 72 for trunk


Ignore:
Timestamp:
Nov 30, 2016, 8:39:56 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Error if exact time range was specified.
Location:
trunk/Modules/Measure
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Measure/Measure.php

    r71 r72  
    512512    }
    513513  }
     514
     515  function ClearData()
     516  {
     517    $this->Database->delete($this->Data['DataTable'], '1');
     518  }
    514519}
    515520
  • trunk/Modules/Measure/Page.php

    r70 r72  
    172172            $_SESSION[$_GET['Time']] = mktime($_POST['Hour'], $_POST['Minute'], 0, $_POST['Month'],
    173173                $_POST['Day'], $_POST['Year']);
    174             $$_GET['Time'] = $_SESSION[$_GET['Time']];
    175174          }
    176175        }
     
    182181          {
    183182            $_SESSION[$_GET['Time']] = time();
    184             $$_GET['Time'] = $_SESSION[$_GET['Time']];
    185183          }
    186184        }
Note: See TracChangeset for help on using the changeset viewer.