Fix PHP bug in calendar.php

(string) coercion instead of __toString() call