diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-09 21:22:57 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-09 21:22:57 +0200 |
commit | cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (patch) | |
tree | 455abf25ed534ddcadfd595f3484c4ef6ff74a2a /Zotlabs/Module/Photos.php | |
parent | 5698462588066b942d7f8784d06942385db8daa4 (diff) | |
download | volse-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/Photos.php')
-rw-r--r-- | Zotlabs/Module/Photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php index 2ca9bfe50..caef45d98 100644 --- a/Zotlabs/Module/Photos.php +++ b/Zotlabs/Module/Photos.php @@ -555,7 +555,7 @@ class Photos extends \Zotlabs\Web\Controller { $sql_extra = permissions_sql($owner_uid,get_observer_hash(),'photo'); $sql_attach = permissions_sql($owner_uid,get_observer_hash(),'attach'); - nav_set_selected(t('Photos')); + nav_set_selected('Photos'); $o = ""; |