Skip to content

Commit 6b4c3a0

Browse files
committed
Merge branch 'v23.02-branch' into release
2 parents 2dad92d + 0a0fdd7 commit 6b4c3a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+469
-457
lines changed

app/Http/Controllers/RoleController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ public function delete(Request $request, string $id)
151151
$this->checkPermission('user-roles-manage');
152152

153153
try {
154-
$this->permissionsRepo->deleteRole($id, $request->get('migrate_role_id', 0));
154+
$migrateRoleId = intval($request->get('migrate_role_id') ?: "0");
155+
$this->permissionsRepo->deleteRole($id, $migrateRoleId);
155156
} catch (PermissionsException $e) {
156157
$this->showErrorNotification($e->getMessage());
157158

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"nunomaduro/larastan": "^2.4",
5050
"phpunit/phpunit": "^9.5",
5151
"squizlabs/php_codesniffer": "^3.7",
52-
"ssddanbrown/asserthtml": "^1.0"
52+
"ssddanbrown/asserthtml": "^2.0"
5353
},
5454
"autoload": {
5555
"psr-4": {

0 commit comments

Comments
 (0)