Update class.mashsharer.php

Fix return(0) causing error