Skip to content

Commit

Permalink
UPDATE make last param optional
Browse files Browse the repository at this point in the history
  • Loading branch information
muskie9 authored Sep 20, 2022
1 parent 7030565 commit 35f13d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
\SilverStripe\View\Parsers\ShortcodeParser::get('default')->unregister('embed');
\SilverStripe\View\Parsers\ShortcodeParser::get('default')->register(
'embed',
function ($arguments, $content = null, $parser = null, $tagName) {
function ($arguments, $content = null, $parser = null, $tagName = null) {
return \Dynamic\CoreTools\View\CTEmbedShortcodeProvider::handle_shortcode(
$arguments,
$content,
Expand Down

0 comments on commit 35f13d4

Please sign in to comment.