Skip to content

Commit

Permalink
Fixed a bug where default HTML buttons were not always added to the c…
Browse files Browse the repository at this point in the history
…orrect site when adding new buttons.
  • Loading branch information
robinsowell committed Mar 7, 2017
1 parent 0898df8 commit 6bdd089
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ private function saveButtons($form)
}
}

$this->button->site_id = ee()->config->item('site_id');
$this->button->save();

ee()->session->set_flashdata('button_id', $this->button->id);
Expand Down

0 comments on commit 6bdd089

Please sign in to comment.