projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3e2d2
)
MTrackWeb/TicketEdit.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 08:27:56 +0000
(16:27 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 08:27:56 +0000
(16:27 +0800)
MTrackWeb/TicketEdit.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/TicketEdit.php
b/MTrackWeb/TicketEdit.php
index
77163cb
..
88e6481
100644
(file)
--- a/
MTrackWeb/TicketEdit.php
+++ b/
MTrackWeb/TicketEdit.php
@@
-34,10
+34,10
@@
class MTrackWeb_TicketEdit extends MTrackWeb
$this->masterTemplate = 'ticket_edit.html';
- $this->id = $pi ? $pi: (isset($_GET['id']) ? $_GET['id'] : 0);
+ $this->id = $pi ? $pi
: (isset($_GET['id']) ? $_GET['id'] : 0);
$this->id = $this->id == 'new' ? 0 : $this->id;
$this->id = (int) $this->id;
-
+ var_dump($this->id);
$ret = $this->loadIssue();
$this->initEditForm();
return $ret;