aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-08-01 13:26:57 +0200
committermarijus <mario@localhost.localdomain>2013-08-01 13:26:57 +0200
commit47de80ead428934fd6cba7894dd3119017ae6379 (patch)
treecf2954c7ad9bdb95e4ba7302594fa096404e5ce7 /mod/events.php
parent2a848c0d3704ac7a4dbce71947c5cb1b362dd749 (diff)
downloadvolse-hubzilla-47de80ead428934fd6cba7894dd3119017ae6379.tar.gz
volse-hubzilla-47de80ead428934fd6cba7894dd3119017ae6379.tar.bz2
volse-hubzilla-47de80ead428934fd6cba7894dd3119017ae6379.zip
make "selected" class work on all navigation menu items
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php
index 44f7522ad..f43a99cba 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -135,6 +135,8 @@ function events_content(&$a) {
return;
}
+ nav_set_selected('all_events');
+
if((argc() > 2) && (argv(1) === 'ignore') && intval(argv(2))) {
$r = q("update event set ignore = 1 where id = %d and uid = %d limit 1",
intval(argv(2)),