projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21a7953
)
DataObjects/Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Jan 2014 09:06:38 +0000
(17:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Jan 2014 09:06:38 +0000
(17:06 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
287b1c9
..
95ac010
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-353,7
+353,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
}
$c = clone($this);
- $c->
ontable = $obj->tableName(
);
+ $c->
whereAddIn('ontable', array( $obj->tableName(), $obj->__table) , 'string'
);
$c->onid = $obj->id;
$c->autoJoin();
if (!empty($mime_like)) {