Skip to content

Commit

Permalink
fix bool view
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Nov 2, 2022
1 parent 437a7e3 commit 76072f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ function htmlfilter( $kv )
case 'target': $v = w8io_a( $v ); break;
case 'attachment': $fkv[$k . '-decoded'] = htmlentities( trim( preg_replace( '/\s+/', ' ', wk()->base58Decode( $v ) ) ) );
case 'value': if( is_address( $v ) ) $v = w8io_a( $v ); break;
default: $v = isset( $v ) ? ( is_int( $v ) ? $v : htmlentities( $v ) ) : null;
default: $v = isset( $v ) ? ( is_int( $v ) ? $v : ( is_bool( $v ) ? $v : htmlentities( $v ) ) ) : null;
}

$fkv[$k] = $v;
Expand Down

0 comments on commit 76072f6

Please sign in to comment.