aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-24 14:25:16 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-24 14:25:16 +0100
commiteb6fd311df6fabd0cc2f97560f3672a5b8e1abf6 (patch)
tree102f3cf54d8896785890ac15e2c0239365579275
parent5a12944b392a2996257ca24318c0e3319003ed9d (diff)
downloadvolse-hubzilla-eb6fd311df6fabd0cc2f97560f3672a5b8e1abf6.tar.gz
volse-hubzilla-eb6fd311df6fabd0cc2f97560f3672a5b8e1abf6.tar.bz2
volse-hubzilla-eb6fd311df6fabd0cc2f97560f3672a5b8e1abf6.zip
fix event droping
-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);
}