mirror of https://github.com/MISP/MISP
fix: [internal] Attribute model, initialise variable
parent
7dbb0a6669
commit
0b0b62991a
|
@ -897,6 +897,7 @@ class Attribute extends AppModel
|
|||
$defaultMaxSize = $outputFormat === 'webp' ? 400 : 200;
|
||||
$maxWidth = $maxWidth ?: $defaultMaxSize;
|
||||
$maxHeight = $maxHeight ?: $defaultMaxSize;
|
||||
$suffix = null;
|
||||
|
||||
if ($maxWidth == $defaultMaxSize && $maxHeight == $defaultMaxSize) {
|
||||
$thumbnailInRedis = Configure::read('MISP.thumbnail_in_redis');
|
||||
|
|
Loading…
Reference in New Issue