Skip to content

Commit

Permalink
Bug fix - Unparenthesized a ? b : c ? d : e is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
itstructure committed Apr 18, 2021
1 parent 0f8268a commit e79e3d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Addition module description you can see in my [Personal site](https://pack-devel

Via composer:

`composer require itstructure/yii2-multi-format-uploader ~3.2.3`
`composer require itstructure/yii2-multi-format-uploader ~3.2.4`

### If you are testing this package from local server directory

Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### CHANGE LOG:

**3.2.4 April 18, 2021:**
- Bug fix: **Unparenthesized `a ? b : c ? d : e` is not supported**.

**3.2.3 April 17, 2021:**
- Bug fix: **Call to a member function validateCsrfToken() on string**.

Expand Down
4 changes: 3 additions & 1 deletion src/views/layouts/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<div class="left">
<?php echo Html::a(
'<span class="glyphicon glyphicon-file"></span> ' . Module::t('filemanager', 'File manager'),
$this->params['manager'] == 'filemanager' ? '#' : null === BaseUrl::previous(Module::BACK_URL_PARAM) ? Module::URL_FILE_MANAGER : BaseUrl::previous(Module::BACK_URL_PARAM),
$this->params['manager'] == 'filemanager'
? '#'
: (null === BaseUrl::previous(Module::BACK_URL_PARAM) ? Module::URL_FILE_MANAGER : BaseUrl::previous(Module::BACK_URL_PARAM)),
[
'class' => $this->params['manager'] == 'filemanager' ? 'btn btn-default active' : 'btn btn-success',
])
Expand Down

0 comments on commit e79e3d2

Please sign in to comment.