diff options
Diffstat (limited to 'bin/backend.php')
-rwxr-xr-x | bin/backend.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/backend.php b/bin/backend.php index 8619c89..9be4b28 100755 --- a/bin/backend.php +++ b/bin/backend.php @@ -96,11 +96,7 @@ switch ($action) break; case ("editTimer"): - $id = $_REQUEST['id']; - if (id) - $tree = file_get_contents("textfiles/editTimer.txt"); - else - $tree = file_get_contents("textfiles/addTimer.txt"); + $tree = editTimer($_REQUEST['id'], $_REQUEST['name'], $_REQUEST['active'], $_REQUEST['channumber'], $_REQUEST['date'], $_REQUEST['starttime'], $_REQUEST['endtime']); print $tree; break; |