From 98be275a1b4daae54aa6658aec7ab7959d7feefd Mon Sep 17 00:00:00 2001
From: Rodrigo Pan <7657005+rodriformiga@users.noreply.github.com>
Date: Thu, 20 Mar 2025 10:13:04 +0100
Subject: [PATCH 1/6] Migrate to PHP 8
---
add_group.php | 2 +-
add_user.php | 2 +-
edit_group.php | 6 +++---
edit_user.php | 10 +++++-----
groups.php | 2 +-
includes/AdminClass.php | 6 +++---
includes/ez_sql_core.php | 10 ++++++++--
includes/ez_sql_mysqli.php | 3 +++
8 files changed, 25 insertions(+), 16 deletions(-)
diff --git a/add_group.php b/add_group.php
index 334916f..d161886 100644
--- a/add_group.php
+++ b/add_group.php
@@ -61,7 +61,7 @@
$errormsg = 'Group "'.$_REQUEST[$cfg['field_groupname']].'" creation failed; check log files.';
}
} else {
- $errormsg = implode($errors, "
\n");
+ $errormsg = implode("
\n", $errors);
}
}
diff --git a/add_user.php b/add_user.php
index ee890a1..f116fed 100644
--- a/add_user.php
+++ b/add_user.php
@@ -114,7 +114,7 @@
$errormsg = 'User "'.$_REQUEST[$field_userid].'" creation failed; check log files.';
}
} else {
- $errormsg = implode($errors, "
\n");
+ $errormsg = implode("
\n", $errors);
}
}
diff --git a/edit_group.php b/edit_group.php
index ff42a4b..f90aba7 100644
--- a/edit_group.php
+++ b/edit_group.php
@@ -79,7 +79,7 @@
$errormsg = 'Group update failed; check log files.';
}
} else {
- $errormsg = implode($errors, "
\n");
+ $errormsg = implode("
\n", $errors);
}
}
@@ -111,7 +111,7 @@
Currently there are no history login with this user.
+ +| Login Date | +Protocol | +IP | + + + +
|---|---|---|
| + | + | + |