diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2009-05-23 12:48:50 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2009-05-23 12:48:50 +0200 |
commit | 5bc4f09805223539cd593ccbe7ed49955dd58775 (patch) | |
tree | b7971b858a06dd6a340f55fc39c4f27efcc89d30 /rpc.php | |
parent | ea36e81b91c8689ae44d413eca4697d1993ac30b (diff) |
make calendar window working again, fixes #78
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -152,10 +152,8 @@ class PHPFSPOT_RPC { break; case 'get_calendar_matrix': - if((is_numeric($_GET['year']) || !isset($_GET['year'])) && - (is_numeric($_GET['month']) || !isset($_GET['month'])) && - (is_numeric($_GET['day']) || !isset($_GET['day']))) { - $phpfspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']); + if(isset($_GET['date']) && is_string($_GET['date'])) { + $phpfspot->get_calendar_matrix($_GET['date']); } break; |