Commit b215d502 authored by Andrei Mondoc's avatar Andrei Mondoc
Browse files

missing 'action' attribute default

parent c7a963dd
......@@ -485,7 +485,11 @@ class CiviCRM_Gutenberg_Blocks {
break;
case 'contribution':
unset( $attributes['gid'] );
break;
case 'event':
$attributes['action'] = $attributes['action'] ?? 'info';
unset( $attributes['gid'] );
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment