Update Ptcalendar.php

Earlier version was generating PHP warning, after changing modify() parameter looks like everything works just fine.
Merge pull request #2 from adriandmitroca/patch-1

Update Ptcalendar.php