Skip to content

Commit ac521a4

Browse files
Fix redirect issue when edit clone chart #915
1 parent 3f35dac commit ac521a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

classes/Visualizer/Module/Chart.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,15 +1245,16 @@ public function cloneChart() {
12451245
'vaction' => false,
12461246
),
12471247
admin_url( 'admin.php' )
1248-
)
1248+
),
1249+
null,
1250+
'db'
12491251
);
12501252
}
12511253
}
12521254

12531255
if ( defined( 'WP_TESTS_DOMAIN' ) ) {
12541256
wp_die();
12551257
}
1256-
12571258
wp_redirect( $redirect );
12581259
exit;
12591260
}

0 commit comments

Comments
 (0)