Skip to content

Commit 9514472

Browse files
Option to refresh a chart "Live" is not allowed to be saved with "Import from WordPress"
1 parent 24c415c commit 9514472

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
@@ -1401,7 +1401,7 @@ public function saveFilter() {
14011401
)
14021402
);
14031403

1404-
if ( ! $hours ) {
1404+
if ( 0 !== $hours && empty( $hours ) ) {
14051405
$hours = -1;
14061406
}
14071407

0 commit comments

Comments
 (0)