projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a0ff9
)
MTrackWeb/Ticket.php
author
Alan Knowles
<alan@akkbhome.com>
Mon, 11 Apr 2011 14:41:15 +0000
(22:41 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Mon, 11 Apr 2011 14:41:15 +0000
(22:41 +0800)
MTrackWeb/Ticket.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Ticket.php
b/MTrackWeb/Ticket.php
index
89ae38d
..
af654ca
100644
(file)
--- a/
MTrackWeb/Ticket.php
+++ b/
MTrackWeb/Ticket.php
@@
-186,7
+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->
object
($this->issue);
$i->ontable = $this->issue->tableName();
$i->onid = $this->issue->id;
$i->created_by = $this->authUser->id;