Skip to content

Commit

Permalink
New BugData object due_date should be blank
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dregad committed Nov 7, 2014
1 parent 8e111ab commit 2d82b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bug_api.php
Expand Up @@ -207,7 +207,7 @@ class BugData {
/**
* Due Date
*/
protected $due_date = 0;
protected $due_date = '';

/**
* Profile ID
Expand Down

0 comments on commit 2d82b24

Please sign in to comment.