Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Put some initial values in new forum posting form

  • Loading branch information...
commit 6dce1da9e7e727dae07b55b5a58a8691c558e660 1 parent 4ad916d
patrickslee authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 mod/forum/post.html
View
8 mod/forum/post.html
@@ -1,3 +1,11 @@
+<?php
+if (!isset($discussion->timestart)) {
+ $discussion->timestart = 0;
+}
+if (!isset($discussion->timeend)) {
+ $discussion->timeend = 0;
+}
+?>
<form name="theform" method="post" action="post.php" enctype="multipart/form-data">
<table border="0" cellpadding="5">
<tr valign="top">
Please sign in to comment.
Something went wrong with that request. Please try again.