projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f3fc4
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Mon, 16 Dec 2013 04:08:27 +0000
(12:08 +0800)
committer
Edward
<edward@roojs.com>
Mon, 16 Dec 2013 04:08:27 +0000
(12:08 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
dd9650b
..
287b1c9
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-532,7
+532,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
function setFromRoo($ar, $roo)
{
// not sure why we do this..
- print_r($ar);exit;
+
// if imgtype starts with '-' ? then we set the 'old' (probably to delete later)
if (!empty($ar['imgtype']) && !empty($ar['ontable']) && !empty($ar['onid']) && ($ar['imgtype'][0] == '-')) {
$this->setFrom($ar);