Indefero

Indefero Commit Details


Date:2012-05-02 06:18:53 (12 years 7 months ago)
Author:Simon Holywell
Branch:develop
Commit:6c130cd3ca056f7ca3232b56c6844d0c93cf3654
Parents: 696f2d06d6b0a711d9668a1571bb27a9691b6171
Message:Fix error where a due date of 0000-00-00 00:00:00 was not equated to empty by forcing to null in model restore() method

Changes:

File differences

src/IDF/Issue.php
156156
157157
158158
159
160
161
162
163
164
165
166
167
159168
160169
161170
IDF_Search::remove($this);
}
function restore()
{
// Note: If a due date has not been set then it should
// be set to null and not a useless/confusing date so...
if ('0000-00-00 00:00:00' === $this->due_dtime) {
$this->due_dtime = null;
}
}
function preSave($create=false)
{
if ($this->id == '') {

Archive Download the corresponding diff file

Page rendered in 0.07660s using 13 queries.