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

Fix duplicate function calls

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