diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-26 04:07:48 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-26 04:07:48 +0000 |
commit | 37690cf1c98d494359c941993337bd41e2aed9ad (patch) | |
tree | 392f4deb656c837f8f97b7682b396263b7956639 /rpc.php | |
parent | de91ca834564f13a8a059f320c469c08309e5e6c (diff) |
issue60, calendar parameters can also be zero
git-svn-id: file:///var/lib/svn/phpfspot/trunk@255 fa6a889d-dae6-447d-9e79-4ba9a3039384
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; |