Skip to content
Snippets Groups Projects
Commit b0a71bde authored by Björn Schießle's avatar Björn Schießle
Browse files

maxX and maxY should be a integer

parent eb1216f9
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,8 @@ if(!\OC_App::isEnabled('files_versions')){ ...@@ -12,8 +12,8 @@ if(!\OC_App::isEnabled('files_versions')){
} }
$file = array_key_exists('file', $_GET) ? (string) urldecode($_GET['file']) : ''; $file = array_key_exists('file', $_GET) ? (string) urldecode($_GET['file']) : '';
$maxX = array_key_exists('x', $_GET) ? (int) $_GET['x'] : '44'; $maxX = array_key_exists('x', $_GET) ? (int) $_GET['x'] : 44;
$maxY = array_key_exists('y', $_GET) ? (int) $_GET['y'] : '44'; $maxY = array_key_exists('y', $_GET) ? (int) $_GET['y'] : 44;
$version = array_key_exists('version', $_GET) ? $_GET['version'] : ''; $version = array_key_exists('version', $_GET) ? $_GET['version'] : '';
$scalingUp = array_key_exists('scalingup', $_GET) ? (bool) $_GET['scalingup'] : true; $scalingUp = array_key_exists('scalingup', $_GET) ? (bool) $_GET['scalingup'] : true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment