mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 00:28:34 +02:00
Fix compatibility with PHP 8
This commit is contained in:
@@ -62,7 +62,7 @@ function number_type() {
|
||||
* @return null modified in place
|
||||
*/
|
||||
function remove_slashes($process, $filter = false) {
|
||||
if (get_magic_quotes_gpc()) {
|
||||
if (function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc()) {
|
||||
while (list($key, $val) = each($process)) {
|
||||
foreach ($val as $k => $v) {
|
||||
unset($process[$key][$k]);
|
||||
|
Reference in New Issue
Block a user