Skip to content

Commit 9cbb60b

Browse files
grunt
1 parent 34d776b commit 9cbb60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Source.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ protected function _normalizeData( $data ) {
216216
break;
217217
case 'boolean':
218218
$datum = trim( strval( $data[ $i ] ) );
219-
$data[ $i ] = in_array( $datum, array( 'true', 'yes', '1' ) ) ? 'true' : 'false';
219+
$data[ $i ] = in_array( $datum, array( 'true', 'yes', '1' ), true ) ? 'true' : 'false';
220220
break;
221221
case 'timeofday':
222222
$date = new DateTime( '1984-03-16T' . $data[ $i ] );

0 commit comments

Comments
 (0)