From df76ce462ae8a725f8684187cd69513d8fbd99a1 Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Tue, 5 Mar 2024 16:28:04 +0100 Subject: [PATCH] set default for param --- conlite/includes/functions.api.images.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conlite/includes/functions.api.images.php b/conlite/includes/functions.api.images.php index 47a9d85..e04b4bd 100644 --- a/conlite/includes/functions.api.images.php +++ b/conlite/includes/functions.api.images.php @@ -601,8 +601,8 @@ function isAnimGif($sFile) { * * @return string Path to the resulting image */ -function capiImgScale($img, $maxX, $maxY, $crop = false, $expand = false, $cacheTime = 10, $wantHQ = false, $quality = 75, $keepType = false) { - global $client, $db, $cfg, $cfgClient; +function capiImgScale($img, $maxX, $maxY, $crop = false, $expand = false, $cacheTime = 10, $wantHQ = false, $quality = 75, $keepType = true) { + global $client, $cfgClient; $deleteAfter = false;