projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue67, when called from an external link, also check the consider-date-search-box...
[phpfspot.git]
/
rpc.php
diff --git
a/rpc.php
b/rpc.php
index 8c72e0f01e1185fabd65a0405eba7eb8f62e30d5..4ffae5f5fbddd3cc58884f25c3136e8abcd809e2 100644
(file)
--- a/
rpc.php
+++ b/
rpc.php
@@
-107,8
+107,9
@@
class PHPFSPOT_RPC {
break;
case 'get_calendar_matrix':
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;
$fspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']);
}
break;