From 2ea4f315b9cbdc846c4bf09a343e5765e7cd1387 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Tue, 11 Feb 2014 11:26:10 -0500 Subject: [PATCH] CRM-14202 allow scheduled reminder to be set for today --- CRM/Admin/Form/ScheduleReminders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Admin/Form/ScheduleReminders.php b/CRM/Admin/Form/ScheduleReminders.php index 4340407847..0cd65dc5f8 100644 --- a/CRM/Admin/Form/ScheduleReminders.php +++ b/CRM/Admin/Form/ScheduleReminders.php @@ -273,7 +273,7 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form { } if (!CRM_Utils_System::isNull($fields['absolute_date'])) { - if (CRM_Utils_Date::format(CRM_Utils_Date::processDate($fields['absolute_date'], NULL)) < CRM_Utils_Date::format(date('YmdHi00'))) { + if (CRM_Utils_Date::format(CRM_Utils_Date::processDate($fields['absolute_date'], NULL)) < CRM_Utils_Date::format(date('Ymd'))) { $errors['absolute_date'] = ts('Absolute date cannot be earlier than the current time.'); } } -- 2.25.1