projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
82b2502
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Mon, 15 Dec 2014 07:13:04 +0000
(15:13 +0800)
committer
Edward
<edward@roojs.com>
Mon, 15 Dec 2014 07:13:04 +0000
(15:13 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
2b710c5
..
ecbb381
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-357,7
+357,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
}
$c = clone($this);
}
$c = clone($this);
- $c->whereAddIn($this->tableName() . '.ontable
1
', 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)) {
$c->onid = $obj->id;
$c->autoJoin();
if (!empty($mime_like)) {