- fixed getting active tab;

This commit is contained in:
nikitasinelnikov
2021-04-02 03:30:55 +03:00
parent 13e3e52bac
commit b61ac46c88
+3 -4
View File
@@ -342,10 +342,9 @@ if ( ! class_exists( 'um\core\Profile' ) ) {
} else {
if ( ! empty( $tabs ) ) {
foreach ( $tabs as $k => $tab ) {
if ( ! empty( $tab['hidden'] ) ) {
$this->active_tab = $k;
break;
}
// set first tab in order
$this->active_tab = $k;
break;
}
}
}