File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ public static function update_onboarding_restart_status(): void {
92
92
93
93
// Get flow data
94
94
$ flow_data = get_option ( Options::get_option_name ( 'flow ' ) );
95
+ $ active_flow = $ flow_data ['activeFlow ' ];
95
96
96
97
if ( isset ( $ flow_data ['onboardingRetries ' ] ) && ! empty ( $ flow_data ['onboardingRetries ' ] ) ) {
97
98
// Increment the total onboarding tries
@@ -133,6 +134,7 @@ public static function update_onboarding_restart_status(): void {
133
134
134
135
delete_option ( Options::get_option_name ( 'flow ' ) );
135
136
$ flow_data_copy = Flows::get_data ();
137
+ $ flow_data_copy ['activeFlow ' ] = $ active_flow ;
136
138
$ flow_data_copy ['onboardingRetries ' ]['retryCount ' ] = $ current_retry_count ;
137
139
138
140
// Update the flow data with the incremented total onboarding tries count and add to db
You can’t perform that action at this time.
0 commit comments