summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xincludes/inc_edittimer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php
index db819e5..00b6f30 100755
--- a/includes/inc_edittimer.php
+++ b/includes/inc_edittimer.php
@@ -72,9 +72,9 @@ print " <span class=\"name\" id=\"layer_endtime\">{$emin}h{$esec}</span><span c
print " </ul>\r\n";
print "<input name=\"action\" type=\"hidden\" id=\"action\" value=\"addtimer\"/>\r\n";
-print "<input name=\"timer_date\" type=\"hidden\" id=\"timer_date\" value=\"\" />\r\n";
-print "<input name=\"timer_starttime\" type=\"hidden\" id=\"timer_starttime\" value=\"\" />\r\n";
-print "<input name=\"timer_endtime\" type=\"hidden\" id=\"timer_endtime\" value=\"\" />\r\n";
+print "<input name=\"timer_date\" type=\"hidden\" id=\"timer_date\" value=\"{$date}\" />\r\n";
+print "<input name=\"timer_starttime\" type=\"hidden\" id=\"timer_starttime\" value=\"{$smin}h{$ssec}\" />\r\n";
+print "<input name=\"timer_endtime\" type=\"hidden\" id=\"timer_endtime\" value=\"{$smin}h{$ssec}\" />\r\n";
print "<input name=\"prevtimer\" type=\"hidden\" id=\"prevtimer\" value=\"{$timer}\" />\r\n";
print "<ul class=\"pageitem\">\r\n";