Closed richtrefz closed 6 years ago
Thanks. Presumably it should look like
$amount = ($amount ? min(max(intval($amount), 0), 255) : 80);
$radius = ($radius ? min(max(intval($radius), 0), 10) : 0.5);
$threshold = (strlen($threshold) ? min(max(intval($threshold), 0), 50) : 3);
Fixed in https://github.com/JamesHeinrich/phpThumb/commit/2575c3ec7768536f2e392732709c5608c60b8d63
$radius used on all 3 lines