Mnior: Internal: Add validation to avoid notice

pull/4453/head^2
Yannick Warnier 3 years ago
parent de3159fe35
commit 86465a2b94
  1. 2
      main/admin/access_url_edit_users_to_url.php

@ -78,7 +78,7 @@ $where = '';
if (isset($_POST['form_sent'])) {
$form_sent = $_POST['form_sent'];
$UserList = $_POST['sessionUsersList'];
$UserList = ($_POST['sessionUsersList'] ?? []);
if (!is_array($UserList)) {
$UserList = [];

Loading…
Cancel
Save