aboutsummaryrefslogtreecommitdiffstats
path: root/include/derivative_params.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-01-14 10:21:10 +0000
committerrvelices <rv-github@modusoptimus.com>2012-01-14 10:21:10 +0000
commit56452f8711d231d43f930e3a2cecbde6e900198f (patch)
tree29df7a07b50f27989b5fa85de5480282450cc722 /include/derivative_params.inc.php
parentc5969b786a88a2793c4174fb5429b60e1d86abdf (diff)
revert css name change from previous commit
git-svn-id: http://piwigo.org/svn/trunk@12881 68402e56-0260-453c-a942-63ccdbb3a9ee
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 );