fix 'Undefined Index' error in item tpl when no shares available
Merge pull request #415 from venyii/noshare-fix

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