Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed Nov 28, 2019
1 parent 128d57c commit 8205243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Listener/GridField/AlterAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ public function afterCallActionHandler( // phpcs:ignore SlevomatCodingStandard.T

// attempt to create a custom snapshot first
$customSnapshot = $snapshot->gridFieldAlterActionSnapshot(
$owner,
$page,
$identifier,
$message,
$owner,
$arguments,
$data
);
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/GridField/URLHandlerAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function afterCallActionURLHandler( // phpcs:ignore SlevomatCodingStandar
}

// attempt to create a custom snapshot first
$customSnapshot = $snapshot->gridFieldUrlActionSnapshot($owner, $page, $action, $message);
$customSnapshot = $snapshot->gridFieldUrlActionSnapshot($page, $action, $message, $owner);

if ($customSnapshot) {
return;
Expand Down

0 comments on commit 8205243

Please sign in to comment.