Skip to content

Instantly share code, notes, and snippets.

@incrize
Created November 29, 2019 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save incrize/95754adec7a011e61a78fbfde5b8c787 to your computer and use it in GitHub Desktop.
Save incrize/95754adec7a011e61a78fbfde5b8c787 to your computer and use it in GitHub Desktop.
diff --git a/app/Tygh/Notifications/EventDispatcher.php b/app/Tygh/Notifications/EventDispatcher.php
index 0a5c22b240..9c32a17ba7 100644
--- a/app/Tygh/Notifications/EventDispatcher.php
+++ b/app/Tygh/Notifications/EventDispatcher.php
@@ -105,6 +105,7 @@ class EventDispatcher
);
}
+ $transport_message_schema = clone $transport_message_schema;
$transport_message_schema->init($data);
$transport = $this->transport_factory->create($transport_id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment