partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit a91bc34acf80b1477e1f82b5237e8fc41d0e6970
parent a1ea87f4cf72644432a597e3454d3e0186332263
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed,  4 Jul 2012 16:08:02 +0200

Fixed non-working image padding

Diffstat:
Msrc/backend/PartKeepr/Image/Image.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/PartKeepr/Image/Image.php b/src/backend/PartKeepr/Image/Image.php @@ -154,7 +154,7 @@ abstract class Image extends UploadedFile implements RenderableImage { * @return string The path to the scaled file */ public function fitWithinPadding ($w, $h) { - return $this->fitWithin($w, $h); + return $this->fitWithin($w, $h, true); } /**