Skip to content

Commit

Permalink
Adjust var default to be array
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Jan 19, 2023
1 parent a0f6abb commit 6ad2f1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/PodsUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1318,9 +1318,10 @@ public function go() {
} else {
if ( isset( $this->actions_custom[ $this->action ] ) ) {
$use_nonce = false;
$more_args = false;

if ( is_array( $this->actions_custom[ $this->action ] ) ) {
$more_args = [];

if ( ! empty( $this->actions_custom[ $this->action ]['more_args'] ) ) {
$more_args = $this->actions_custom[ $this->action ]['more_args'];
}
Expand Down

0 comments on commit 6ad2f1b

Please sign in to comment.