From d9b9bfd2889452b0a07ce3bf27e3e79c4b83d0fc Mon Sep 17 00:00:00 2001 From: Kanika Goyal Date: Sat, 31 Mar 2012 18:51:16 +0530 Subject: [PATCH] MDL-31203 mod_forum: advanced search posts must be newer older than date, reverts date --- mod/forum/search.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mod/forum/search.php b/mod/forum/search.php index daa7bdc194a..ebbc99f7f81 100644 --- a/mod/forum/search.php +++ b/mod/forum/search.php @@ -369,11 +369,11 @@ function forum_print_big_search_form($course) { } echo ' '; - $selectors = html_writer::select_time('days', 'fromday', $dateto) - . html_writer::select_time('months', 'frommonth', $dateto) - . html_writer::select_time('years', 'fromyear', $dateto) - . html_writer::select_time('hours', 'fromhour', $dateto) - . html_writer::select_time('minutes', 'fromminute', $dateto); + $selectors = html_writer::select_time('days', 'today', $dateto) + . html_writer::select_time('months', 'tomonth', $dateto) + . html_writer::select_time('years', 'toyear', $dateto) + . html_writer::select_time('hours', 'tohour', $dateto) + . html_writer::select_time('minutes', 'tominute', $dateto); echo $selectors; echo ''; -- 2.43.0