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 4caec9dbd3
commit 9afc3a45b7

View File

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