Skip to content

Commit b0f97a8

Browse files
rectify upsell
#525 (comment)
1 parent efffe37 commit b0f97a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

classes/Visualizer/Module/Admin.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function addSplChartSchedules( $feature, $chart_id, $plan ) {
9292

9393
$license = __( 'PRO', 'visualizer' );
9494
switch ( $plan ) {
95-
case 2:
95+
case 1:
9696
$license = __( 'Developer', 'visualizer' );
9797
break;
9898
}
@@ -116,7 +116,11 @@ public function addSplChartSchedules( $feature, $chart_id, $plan ) {
116116
// fall-through.
117117
case 'db':
118118
// fall-through.
119+
break;
119120
case 'csv':
121+
$hours = array(
122+
'0' => __( 'Live', 'visualizer' ),
123+
);
120124
break;
121125
default:
122126
return;

0 commit comments

Comments
 (0)