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

There´s nothing in ```$share``` if I didn´t choose any shares - result: an 'Undefined Index' error will be raised.

Fix: Check if any shares are available