Update calendar.php

Solve AgenDAV issue #94 (cannot share calendar due to wrong variable name)