mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Misc: Updates for PHP 8.1
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
$user_log_uuid = $_GET['id'];
|
||||
|
||||
//pre-populate the form
|
||||
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
|
||||
if (!empty($_GET) && is_array($_GET) && (empty($_POST["persistformvar"]) || $_POST["persistformvar"] != "true")) {
|
||||
$sql = "select * from v_user_logs ";
|
||||
$sql .= "where user_log_uuid = :user_log_uuid ";
|
||||
//$sql .= "and domain_uuid = :domain_uuid ";
|
||||
|
||||
Reference in New Issue
Block a user