projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595c3f6
)
MTrackWeb/Ticket.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 8 Apr 2011 10:04:54 +0000
(18:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 8 Apr 2011 10:04:54 +0000
(18:04 +0800)
MTrackWeb/Ticket.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Ticket.php
b/MTrackWeb/Ticket.php
index
9d8c940
..
89ae38d
100644
(file)
--- a/
MTrackWeb/Ticket.php
+++ b/
MTrackWeb/Ticket.php
@@
-186,6
+186,7
@@
class MTrackWeb_Ticket extends MTrackWeb
if (!empty($_FILES['attachments'])) {
foreach ($_FILES['attachments']['name'] as $fileid => $name) {
$i = DB_DataObject::factory('Images');
+ $i->associate($this->issue);
$i->ontable = $this->issue->tableName();
$i->onid = $this->issue->id;
$i->created_by = $this->authUser->id;