Skip to content

Commit

Permalink
Fixed replicate() hook
Browse files Browse the repository at this point in the history
replicate(): $args attribute was forgotten when calling next hook
  • Loading branch information
uniconstructor authored Mar 22, 2018
1 parent d058c69 commit 88fde3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Metable/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function replicate()

$copy->setRelation('metaAttributes', $metaAttributes);

return $next($copy);
return $next($copy, $args);
};
}

Expand Down

0 comments on commit 88fde3a

Please sign in to comment.