Update ShareViewHelper.php

had to correct things, sorry now its probably ok