Skip to content

Commit 10ee013

Browse files
chart types selection does not show when creating chart from add media button
1 parent 720dc81 commit 10ee013

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
@@ -261,7 +261,7 @@ public function renderChartPages() {
261261
}
262262
// dispatch pages
263263
$this->_chart = get_post( $chart_id );
264-
$tab = isset( $_GET['tab'] ) || empty( $_GET['tab'] ) ? $_GET['tab'] : 'visualizer';
264+
$tab = isset( $_GET['tab'] ) && ! empty( $_GET['tab'] ) ? $_GET['tab'] : 'visualizer';
265265
switch ( $tab ) {
266266
case 'settings':
267267
// changed by Ash/Upwork

0 commit comments

Comments
 (0)