[pLog-svn] r2536 - plog/branches/plog-1.0.2/class/gallery/resizers
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Thu Oct 27 22:12:23 GMT 2005
Author: oscar
Date: 2005-10-27 22:12:22 +0000 (Thu, 27 Oct 2005)
New Revision: 2536
Modified:
plog/branches/plog-1.0.2/class/gallery/resizers/gallerygdresizer.class.php
Log:
fixed issue 717 (http://bugs.plogworld.net/view.php?id=717)
Modified: plog/branches/plog-1.0.2/class/gallery/resizers/gallerygdresizer.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/gallery/resizers/gallerygdresizer.class.php 2005-10-27 22:06:38 UTC (rev 2535)
+++ plog/branches/plog-1.0.2/class/gallery/resizers/gallerygdresizer.class.php 2005-10-27 22:12:22 UTC (rev 2536)
@@ -44,7 +44,7 @@
if( !$this->thumbnail( $this->_image ))
return false;
- if( ($this->img["lebar"] < $width) || ($this->img["tinggi"] < $height) ) {
+ if( ($this->img["lebar"] < $width) && ($this->img["tinggi"] < $height) ) {
$this->img["lebar_thumb"] = $this->img["lebar"];
$this->img["tinggi_thumb"] = $this->img["tinggi"];
}
More information about the pLog-svn
mailing list