1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 00:37:02 +02:00

Add PR #279 which fixes a ParseDown extra PHP 8.2 deprecation notice

This commit is contained in:
erikmh
2024-02-15 10:26:00 -05:00
committed by Ryan Cramer
parent caa8e7e421
commit f801fef42b

View File

@@ -508,7 +508,8 @@ class ParsedownExtra extends Parsedown
),
);
uasort($this->DefinitionData['Footnote'], 'self::sortFootnotes');
// RJC https://github.com/processwire/processwire/pull/279
uasort($this->DefinitionData['Footnote'], self::class . '::sortFootnotes');
foreach ($this->DefinitionData['Footnote'] as $definitionId => $DefinitionData)
{