aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/uexport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/uexport.php b/mod/uexport.php
index a1fa31cfe..4d4beaba3 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));
}