projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ca3e7
)
MTrackWeb/Ticket.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 14:53:56 +0000
(22:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 14:53:56 +0000
(22:53 +0800)
MTrackWeb/Ticket.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Ticket.php
b/MTrackWeb/Ticket.php
index
736ccfe
..
d4c1f21
100644
(file)
--- a/
MTrackWeb/Ticket.php
+++ b/
MTrackWeb/Ticket.php
@@
-93,7
+93,7
@@
class MTrackWeb_Ticket extends MTrackWeb
$this->id = empty($_POST['id']) ? 0 : $_POST['id'];
$this->loadIssue();
-
+ $old = clone($this->issue);
// $this->preview = isset($_POST['preview']) ? true : false;
if (!$this->hasPerm('MTrack.Issue','E') ) {
@@
-172,7
+172,8
@@
class MTrackWeb_Ticket extends MTrackWeb
// create a comment CS..
//}
-
+ $CS->add($old, $this->issue)
+
if (!count($this->error)) {
try {