or ((!is_null($owner) and !is_null($this->issue->get_owner())) and $owner->id != $this->issue->get_owner()->id)) {␊ |
return $this->cleaned_data;␊ |
}␊ |
if (trim($this->issue->due_dtime) != trim($this->cleaned_data['due_dtime'])) {␊ |
return $this->cleaned_data;␊ |
}␊ |
$tags = array();␊ |
for ($i=1;$i<7;$i++) {␊ |
if (strlen($this->cleaned_data['label'.$i]) > 0) {␊ |
|
or ((!is_null($owner) and !is_null($this->issue->get_owner())) and $owner->id != $this->issue->get_owner()->id)) {␊ |
$changes['ow'] = (is_null($owner)) ? '---' : $owner->login;␊ |
}␊ |
$due_dtime = $this->cleaned_data['due_dtime'];␊ |
if (trim($this->issue->due_dtime) != trim($this->cleaned_data['due_dtime'])) {␊ |
$changes['du'] = trim($this->cleaned_data['due_dtime']);␊ |
}␊ |
|
$this->issue->summary = trim($this->cleaned_data['summary']);␊ |
$this->issue->status = $status;␊ |
$this->issue->owner = $owner;␊ |
$this->issue->due_dtime = $due_dtime;␊ |
$this->issue->due_dtime = $this->cleaned_data['due_dtime'];␊ |
}␊ |
// Create the comment␊ |
$comment = new IDF_IssueComment();␊ |