Fix - $cal not defined error

... if $_REQUEST['date'] is not set
Merge pull request #57 from sheadawson/patch-1

Fix - $cal not defined error