Re-assign thumbnail suffix for CROP_MODE_BOUNDARY.

This crop mode was intended to get the '_ce' suffix,
but was inadvertently getting '_c' instead.
This commit is contained in:
Aaron van Geffen 2020-11-29 16:18:41 +01:00
parent 340ed84272
commit b793e05980
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ class Thumbnail
$this->filename_suffix .= 's';
elseif ($this->crop_mode === self::CROP_MODE_SLICE_BOTTOM)
$this->filename_suffix .= 'b';
elseif ($this->crop_mode === self::CROP_MODE_BOUNDARY)
$this->filename_suffix .= 'e';
}
else
$this->filename_suffix = '';