Skip to content

Commit a42e77d

Browse files
author
LEWE, GEORGE
committed
Release 3.5.1
1 parent 1994936 commit a42e77d

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

src/Config/AuthInfo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AuthInfo extends BaseConfig {
2121
*
2222
* @var string
2323
*/
24-
public $version = '3.5.0';
24+
public $version = '3.5.1';
2525

2626
/**
2727
* --------------------------------------------------------------------------

src/Controllers/UserController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,13 @@ public function usersEditDo($id = null) {
326326
//
327327
// Get the Active switch.
328328
//
329-
if ($this->request->getPost('swi_active')) $user->setAttribute('active', 1);
329+
if ($this->request->getPost('active')) $user->setAttribute('active', 1);
330330
else $user->setAttribute('active', 0);
331331

332332
//
333333
// Get the Banned switch.
334334
//
335-
if ($this->request->getPost('swi_banned')) $user->setAttribute('status', 'banned');
335+
if ($this->request->getPost('banned')) $user->setAttribute('status', 'banned');
336336
else $user->setAttribute('status', null);
337337

338338
//

src/Views/_releaseinfo.phtml

+21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
<!-- Release Info -->
2+
<div class="card mb-3">
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>
4+
<div class="card-body">
5+
<h6>Bugfix</h6>
6+
<ul>
7+
<li>Missing translation in Spanish language (thanks to @treborin))</li>
8+
<li>Fixed Active/Banned switch in User Edit page</li>
9+
</ul>
10+
</div>
11+
</div>
12+
<div class="card mb-3">
13+
<div class="card-header"><i class="bi-box me-3"></i>Release 3.5.0<span class="float-end">2024-03-18</span></div>
14+
<div class="card-body">
15+
<h6>Improvement</h6>
16+
<ul>
17+
<li>UI adjustments</li>
18+
<li>Extended BS5 helper</li>
19+
<li>Changed config variable name in Controllers to be more unique</li>
20+
</ul>
21+
</div>
22+
</div>
223
<div class="card mb-3">
324
<div class="card-header"><i class="bi-box me-3"></i>Release 3.4.0<span class="float-end">2024-02-23</span></div>
425
<div class="card-body">

0 commit comments

Comments
 (0)