projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d51035f
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Thu, 4 Oct 2018 03:12:20 +0000
(11:12 +0800)
committer
Edward
<edward@roojs.com>
Thu, 4 Oct 2018 03:12:20 +0000
(11:12 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
ff5d7f9
..
ff1f107
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-839,7
+839,6
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
$width = $this->width;
$height = $this->height;
$width = $this->width;
$height = $this->height;
- print_R($width);exit;
if(!empty($scaleWidth)){
$width = $scaleWidth;
if(!empty($scaleWidth)){
$width = $scaleWidth;
@@
-847,6
+846,8
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
$height = $this->height * $scaleWidth / $this->width;
}
}
$height = $this->height * $scaleWidth / $this->width;
}
}
+
+ print_R($width);exit;
if(!empty($scaleHeight)){
$height = $scaleHeight;
if(!empty($scaleHeight)){
$height = $scaleHeight;