fix PHP 8.0 ArgumentCountError: readlink() expects exactly 1 argument, 2 given

This commit is contained in:
Ralf Becker 2021-11-17 20:24:02 +01:00
parent bc18846d75
commit 1f50b3b0c5

View File

@ -704,6 +704,10 @@ class Base
else
{
$time = null;
if (in_array($name, ['readlink']))
{
return $name($url);
}
return $name($url, $time);
}
}