craigwatson / bitcoind-status

PHP application to display status and information from the Bitcoin node daemon.
https://odin.vikingserv.net
Apache License 2.0
82 stars 77 forks source link

PHP Typo #18

Closed Lokutos closed 8 years ago

Lokutos commented 8 years ago

& && Typo

craigwatson commented 8 years ago

Hi Joel,

This actually isn't a typo - the double-ampersand is the short-circuit version, which won't bother to interpret the right-hand side if the left-hand side is true.

In this instance, we want to ensure that $config['node_links'] is an array, and that the number of elements is greater than zero.

Thanks, Craig