Commit 70d5dce7 authored by Michael Iseard's avatar Michael Iseard
Browse files

Fix duplicate function calls

parent 1d29768a
......@@ -68,7 +68,7 @@ class KudosButton {
$modal = $this->get_donate_modal();
if ( ! empty( $modal ) && ! empty( $button ) ) {
return $this->get_button() . $this->get_donate_modal();
return $button . $modal;
}
return null;
......
Markdown is supported
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