Commit 8cd7ed14 authored by KR Moorhouse's avatar KR Moorhouse Committed by GitHub

Merge pull request #3090 from wpninjas/issue#2749

Include submission on the end_date.
parents f9577c8d 3ae8c41b
......@@ -418,6 +418,9 @@ final class NF_Admin_Menus_Submissions extends NF_Abstracts_Submenu
$begin_date = $_GET[ 'begin_date' ];
$end_date = $_GET[ 'end_date' ];
// Include submissions on the end_date.
$end_date = date( 'm/d/Y', strtotime( '+1 day', strtotime( $end_date ) ) );
if( $begin_date > $end_date ){
$temp_date = $begin_date;
$begin_date = $end_date;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment