projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e9dbe5
)
DataObjects/Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Jan 2014 09:07:14 +0000
(17:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Jan 2014 09:07:14 +0000
(17:07 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
95ac010
..
a3ca09f
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->whereAddIn(
'
ontable', array( $obj->tableName(), $obj->__table) , 'string');
+ $c->whereAddIn(
$this->tableName() . '.
ontable', array( $obj->tableName(), $obj->__table) , 'string');
$c->onid = $obj->id;
$c->autoJoin();
if (!empty($mime_like)) {