mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 07:21:03 +02:00
PHP 8.1 fixes.
This commit is contained in:
@@ -80,10 +80,10 @@ trait StrptimeTrait
|
||||
|
||||
for ($i = 1; $i <= 12; $i++)
|
||||
{
|
||||
$k = strftime('%B', mktime(0, 0, 0, $i));
|
||||
$k = @strftime('%B', mktime(0, 0, 0, $i));
|
||||
$fullmonth[$k] = $i;
|
||||
|
||||
$j = strftime('%b', mktime(0, 0, 0, $i));
|
||||
$j = @strftime('%b', mktime(0, 0, 0, $i));
|
||||
$abrevmonth[$j] = $i;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user