diff options
author | Mario <mario@mariovavti.com> | 2022-10-12 12:15:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-12 12:15:30 +0000 |
commit | a9a36894cb2637b546ed566ee06f20511cce031f (patch) | |
tree | d4db4326f9414e61771c5cfb3d23d1f47d1ec9a3 /include/nav.php | |
parent | bc9778e02f6ba953c8437e8e9f4cc1f211a0232e (diff) | |
download | volse-hubzilla-a9a36894cb2637b546ed566ee06f20511cce031f.tar.gz volse-hubzilla-a9a36894cb2637b546ed566ee06f20511cce031f.tar.bz2 volse-hubzilla-a9a36894cb2637b546ed566ee06f20511cce031f.zip |
fix php warnings
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index 65d5a3ef6..71b3bec49 100644 --- a/include/nav.php +++ b/include/nav.php @@ -206,7 +206,7 @@ function nav($template = 'default') { $url = ''; $settings_url = ''; - if (App::$profile_uid && App::$nav_sel['raw_name']) { + if (App::$profile_uid && isset(App::$nav_sel['raw_name']) && App::$nav_sel['raw_name']) { $active_app = q("SELECT app_url FROM app WHERE app_channel = %d AND app_name = '%s' LIMIT 1", intval(App::$profile_uid), dbesc(App::$nav_sel['raw_name']) |