aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Events.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-09 21:22:57 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-09 21:22:57 +0200
commitcc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (patch)
tree455abf25ed534ddcadfd595f3484c4ef6ff74a2a /Zotlabs/Module/Events.php
parent5698462588066b942d7f8784d06942385db8daa4 (diff)
downloadvolse-hubzilla-cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69.tar.gz
volse-hubzilla-cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69.tar.bz2
volse-hubzilla-cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69.zip
feed untranslated appnames to nav_set_selected() and query for the active app directly to get app details
Diffstat (limited to 'Zotlabs/Module/Events.php')
-rw-r--r--Zotlabs/Module/Events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php
index 0541f5e9b..33c8b8249 100644
--- a/Zotlabs/Module/Events.php
+++ b/Zotlabs/Module/Events.php
@@ -272,7 +272,7 @@ class Events extends \Zotlabs\Web\Controller {
return;
}
- nav_set_selected(t('Events'));
+ nav_set_selected('Events');
if((argc() > 2) && (argv(1) === 'ignore') && intval(argv(2))) {
$r = q("update event set dismissed = 1 where id = %d and uid = %d",