projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d300d6
)
MTrackWeb/Ticket.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 11:39:53 +0000
(19:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 11:39:53 +0000
(19:39 +0800)
MTrackWeb/Ticket.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Ticket.php
b/MTrackWeb/Ticket.php
index
e97a267
..
5678d5c
100644
(file)
--- a/
MTrackWeb/Ticket.php
+++ b/
MTrackWeb/Ticket.php
@@
-69,8
+69,7
@@
class MTrackWeb_Ticket extends MTrackWeb
}
// new is always editable..????
- $this->editable = $this->id ?
- $this->ticket->hasPerm($this->authUser,'E') : true;
+ $this->editable = !$this->hasPerm('MTrack.Issue','E')
$this->issue->milestoneURL = $this->baseURL.'/Milestone'; // fix me later..