aboutsummaryrefslogtreecommitdiffstats
path: root/mod/uexport.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-17 22:25:17 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-17 22:25:17 -0700
commit9f4f967eadd2b330e6b22d659543e8b8272af182 (patch)
tree0e79d61098430c2b76e30002942bb26ed9d455a2 /mod/uexport.php
parentf6823259241484a761bc7e69ce44db281a6cb825 (diff)
downloadvolse-hubzilla-9f4f967eadd2b330e6b22d659543e8b8272af182.tar.gz
volse-hubzilla-9f4f967eadd2b330e6b22d659543e8b8272af182.tar.bz2
volse-hubzilla-9f4f967eadd2b330e6b22d659543e8b8272af182.zip
off by one
Diffstat (limited to 'mod/uexport.php')
-rw-r--r--mod/uexport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/uexport.php b/mod/uexport.php
index 66bb1e851..6874ceb91 100644
--- a/mod/uexport.php
+++ b/mod/uexport.php
@@ -13,7 +13,7 @@ function uexport_init(&$a) {
$year = intval(argv(1));
}
- if(argc() > 2 && intval(argv(2)) > 1 && intval(argv(2)) <= 12) {
+ if(argc() > 2 && intval(argv(2)) > 0 && intval(argv(2)) <= 12) {
$month = intval(argv(2));
}