From 2d82b2430922e6bc0ac733007792955c92a4df05 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Thu, 16 Oct 2014 01:39:45 +0200 Subject: [PATCH] New BugData object due_date should be blank Prior to this, the due_date field was initialized to 0, causing the date to be incorrectly preset to 1970-01-01 00:00 UTC. Fixes #17847 --- core/bug_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bug_api.php b/core/bug_api.php index 87ea387ebc..5e2d658e15 100644 --- a/core/bug_api.php +++ b/core/bug_api.php @@ -207,7 +207,7 @@ class BugData { /** * Due Date */ - protected $due_date = 0; + protected $due_date = ''; /** * Profile ID