Skip to content

Commit 91502d6

Browse files
permissions not being saved
1 parent ded3ab4 commit 91502d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Module/Chart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public function renderChartPages() {
269269
$tab = isset( $_GET['tab'] ) && ! empty( $_GET['tab'] ) ? $_GET['tab'] : 'visualizer';
270270

271271
// skip chart type pages only for existing charts.
272-
if ( VISUALIZER_SKIP_CHART_TYPE_PAGE && 'auto-draft' !== $this->_chart->post_status ) {
272+
if ( VISUALIZER_SKIP_CHART_TYPE_PAGE && 'auto-draft' !== $this->_chart->post_status && 'visualizer' === $_GET['tab'] ) {
273273
$tab = 'settings';
274274
}
275275

0 commit comments

Comments
 (0)