mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fix PHP 8.0 ArgumentCountError: readlink() expects exactly 1 argument, 2 given
This commit is contained in:
parent
4caec9dbd3
commit
9afc3a45b7
@ -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…
Reference in New Issue
Block a user