Skip to content

Commit

Permalink
WordCamp Budgets Dashboard: Restore current blog before returning early.
Browse files Browse the repository at this point in the history
See #3190
Props SergeyBiryukov

git-svn-id: http://meta.svn.wordpress.org/sites/trunk/wordcamp.org@6052 74240141-8908-4e6f-9713-ba540dce6ec7
  • Loading branch information
iandunn committed Oct 25, 2017
1 parent 7725975 commit 6444539
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ function notify_organizer_status_changed( $site_id, $invoice_id, $new_status ) {
} elseif ( 'paid' === $new_status ) {
$status_message = "has been paid by $sponsor_name. Go ahead and publish them to your website!";
} else {
restore_current_blog();
return;
}

Expand Down

0 comments on commit 6444539

Please sign in to comment.