Update Ptcalendar.php

Earlier version was generating PHP warning, after changing modify() parameter looks like everything works just fine.