Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver authored Dec 17, 2023
1 parent 2601faa commit fc5602f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private function parseParameters(string $paramString): void
$raw = explode('×', preg_replace('/([0-9])(x)([0-9a-z])/i', '\1×\3', $paramString));

$this->parameters = [
'w' => (isset($raw[0] && is_numeric($raw[0])) ? (int) $raw[0] : 400,
'w' => (isset($raw[0]) && is_numeric($raw[0])) ? (int) $raw[0] : 400,
'h' => (isset($raw[1]) && is_numeric($raw[1])) ? (int) $raw[1] : 300,
'fit' => isset($raw[2]) ? $raw[2] : $this->config->get('general/thumbnails/default_cropping', 'default'),
'location' => 'files',
Expand Down

0 comments on commit fc5602f

Please sign in to comment.