Skip to content

Commit

Permalink
Release 3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LEWE, GEORGE committed Mar 18, 2024
1 parent 1994936 commit a42e77d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Config/AuthInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AuthInfo extends BaseConfig {
*
* @var string
*/
public $version = '3.5.0';
public $version = '3.5.1';

/**
* --------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,13 @@ public function usersEditDo($id = null) {
//
// Get the Active switch.
//
if ($this->request->getPost('swi_active')) $user->setAttribute('active', 1);
if ($this->request->getPost('active')) $user->setAttribute('active', 1);
else $user->setAttribute('active', 0);

//
// Get the Banned switch.
//
if ($this->request->getPost('swi_banned')) $user->setAttribute('status', 'banned');
if ($this->request->getPost('banned')) $user->setAttribute('status', 'banned');
else $user->setAttribute('status', null);

//
Expand Down
21 changes: 21 additions & 0 deletions src/Views/_releaseinfo.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
<!-- Release Info -->
<div class="card mb-3">
<div class="card-header"><i class="bi-box me-3"></i>Release 3.5.1<span class="float-end">2024-03-18</span></div>
<div class="card-body">
<h6>Bugfix</h6>
<ul>
<li>Missing translation in Spanish language (thanks to @treborin))</li>
<li>Fixed Active/Banned switch in User Edit page</li>
</ul>
</div>
</div>
<div class="card mb-3">
<div class="card-header"><i class="bi-box me-3"></i>Release 3.5.0<span class="float-end">2024-03-18</span></div>
<div class="card-body">
<h6>Improvement</h6>
<ul>
<li>UI adjustments</li>
<li>Extended BS5 helper</li>
<li>Changed config variable name in Controllers to be more unique</li>
</ul>
</div>
</div>
<div class="card mb-3">
<div class="card-header"><i class="bi-box me-3"></i>Release 3.4.0<span class="float-end">2024-02-23</span></div>
<div class="card-body">
Expand Down

0 comments on commit a42e77d

Please sign in to comment.