Skip to content

Commit

Permalink
use || consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2015
1 parent 32be807 commit 2a6dafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Command/get.pm
Expand Up @@ -70,7 +70,7 @@ sub run {
return _json($buffer, $selector) if $selector eq '' || $selector =~ m!^/!;

# Selector
$charset //= $tx->res->content->charset // $tx->res->default_charset;
$charset //= $tx->res->content->charset || $tx->res->default_charset;
_select($buffer, $selector, $charset, @args);
}

Expand Down

0 comments on commit 2a6dafc

Please sign in to comment.