Email: Iterate based on feedback.

This commit is contained in:
Ian Dunn 2019-10-25 07:57:04 -07:00
parent 147da5ae24
commit 0bd1fc1576
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
5 changed files with 35 additions and 16 deletions

View file

@ -185,7 +185,7 @@ function render_meta_boxes( $pledge, $box ) {
*/
function save_pledge( $pledge_id, $pledge ) {
$get_action = filter_input( INPUT_GET, 'action' );
$post_action = $_POST['action'] ?? null;
$post_action = filter_input( INPUT_POST, 'action' );
$ignored_actions = array( 'trash', 'untrash', 'restore' );
/*