diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-28 07:10:25 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-28 07:10:25 +0000 |
commit | fc802d09f196e338f7485e38057ec84df5c81bf2 (patch) | |
tree | 254911c7864291849b1d200e30f01ed7bd599937 /rpc.php | |
parent | d017dda4269c5122cd522218357a11fcb4880a5d (diff) |
issue69, fixed calendar matrix always starting with the current time
git-svn-id: file:///var/lib/svn/phpfspot/trunk@260 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -107,9 +107,9 @@ class PHPFSPOT_RPC { break; case 'get_calendar_matrix': - if((is_numeric($_GET['year']) || $_GET['year'] == "") && - (is_numeric($_GET['month']) || $_GET['month'] == "") && - (is_numeric($_GET['day']) || $_GET['month'] == "")) { + if((is_numeric($_GET['year']) || !isset($_GET['year'])) && + (is_numeric($_GET['month']) || !isset($_GET['month'])) && + (is_numeric($_GET['day']) || !isset($_GET['day']))) { $fspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']); } break; |