Use the ?: shortcut from PHP 5.3 where it makes sense