mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Put some initial values in new forum posting form
This commit is contained in:
parent
4ad916da57
commit
6dce1da9e7
1 changed files with 8 additions and 0 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue