aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rwxr-xr-xmod/events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/events.php b/mod/events.php
index fcacacd6f..36527d6c7 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -306,7 +306,7 @@ function events_content(&$a) {
$y = intval(argv(1));
$m = intval(argv(2));
}
- if(argc() > 1) {
+ if(argc() <= 2) {
$mode = 'view';
$event_id = argv(1);
}