fix 'Undefined Index' error in item tpl when no shares available