diff options
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -107,8 +107,9 @@ class PHPFSPOT_RPC { break; case 'get_calendar_matrix': - if(is_numeric($_GET['year']) && is_numeric($_GET['month']) && - is_numeric($_GET['day'])) { + if((is_numeric($_GET['year']) || $_GET['year'] == "") && + (is_numeric($_GET['month']) || $_GET['month'] == "") && + (is_numeric($_GET['day']) || $_GET['month'] == "")) { $fspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']); } break; |