From 6ad2f1b5b5b5aa59a89e30ac8e239ad1ae132b59 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Thu, 19 Jan 2023 15:13:18 -0600 Subject: [PATCH] Adjust var default to be array --- classes/PodsUI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/PodsUI.php b/classes/PodsUI.php index f864384b60..ac11569031 100644 --- a/classes/PodsUI.php +++ b/classes/PodsUI.php @@ -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']; }