mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
fix PHP 8.0 ArgumentCountError: readlink() expects exactly 1 argument, 2 given
This commit is contained in:
parent
bc18846d75
commit
1f50b3b0c5
@ -704,6 +704,10 @@ class Base
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$time = null;
|
$time = null;
|
||||||
|
if (in_array($name, ['readlink']))
|
||||||
|
{
|
||||||
|
return $name($url);
|
||||||
|
}
|
||||||
return $name($url, $time);
|
return $name($url, $time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user