Fix syntax error on PHP 5.3
Fix error when items have no bids