From 02c748697808ea24174a69b31e477827ae615b32 Mon Sep 17 00:00:00 2001 From: andrewshuba Date: Tue, 26 Nov 2019 10:36:04 +0200 Subject: [PATCH] - fix set_id --- includes/core/class-account.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/core/class-account.php b/includes/core/class-account.php index 38ba2369..9ee43eca 100644 --- a/includes/core/class-account.php +++ b/includes/core/class-account.php @@ -573,6 +573,8 @@ if ( ! class_exists( 'um\core\Account' ) ) { * @throws \Exception */ function get_tab_fields( $id, $shortcode_args ) { + UM()->fields()->set_id = $id; + $output = null; UM()->fields()->set_mode = 'account';