File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ Addition module description you can see in my [Personal site](https://pack-devel
3939
4040Via composer:
4141
42- ``` composer require itstructure/yii2-multi-format-uploader ~2.2.0 ```
42+ ``` composer require itstructure/yii2-multi-format-uploader ~2.2.1 ```
4343
4444or in section ** require** of composer.json file set the following:
4545```
4646"require": {
47- "itstructure/yii2-multi-format-uploader": "~2.2.0 "
47+ "itstructure/yii2-multi-format-uploader": "~2.2.1 "
4848}
4949```
5050and command ``` composer install ``` , if you install yii2 project extensions first,
Original file line number Diff line number Diff line change 11### CHANGE LOG:
22
3+ ** 2.2.1 June 20, 2020:**
4+ - Bug fix for ** getThumbUrl()** method in ``` Mediafile ``` model.
5+
36** 2.2.0 June 15, 2020:**
47- Change saving local file ** url** to DB.
58- Add ** publicBaseUrl** param to Module for full local files url.
Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ public function getThumbs(): array
448448 public function getThumbUrl (string $ alias ): string
449449 {
450450 if ($ alias === Module::THUMB_ALIAS_ORIGINAL ) {
451- $ url = $ this ->getViewUrl ();
451+ return $ this ->getViewUrl ();
452452
453453 } else {
454454 $ thumbs = $ this ->getThumbs ();
You can’t perform that action at this time.
0 commit comments