aboutsummaryrefslogtreecommitdiffstats
path: root/include/derivative_params.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/derivative_params.inc.php')
-rw-r--r--include/derivative_params.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/derivative_params.inc.php b/include/derivative_params.inc.php
index be28b6589..569c4ace1 100644
--- a/include/derivative_params.inc.php
+++ b/include/derivative_params.inc.php
@@ -204,7 +204,7 @@ final class SizingParams
throw new Exception('Sizing arr');
$token = array_shift($tokens);
- $crop = sscanf('%02x' , $token) / 100;
+ $crop = hexdec($token) / 100;
$token = array_shift($tokens);
$min_size = url_to_size( $token );