diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-16 13:10:08 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-16 13:10:08 +0100 |
commit | cba602bf64dd4e9566e5c060c38480128735a60d (patch) | |
tree | fe07c51ed8c735adb0e04163f1bc9fe29495e520 /include | |
parent | 78c9f752af8db5db290a57224fa1d0239a36a34d (diff) | |
download | volse-hubzilla-cba602bf64dd4e9566e5c060c38480128735a60d.tar.gz volse-hubzilla-cba602bf64dd4e9566e5c060c38480128735a60d.tar.bz2 volse-hubzilla-cba602bf64dd4e9566e5c060c38480128735a60d.zip |
compare strpos result against false
Diffstat (limited to 'include')
-rw-r--r-- | include/nav.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php index 8d39d492a..2dcf68bc8 100644 --- a/include/nav.php +++ b/include/nav.php @@ -274,7 +274,7 @@ EOT; $app['active'] = true; if($is_owner) { - if(strpos($app['categories'],'nav_pinned_app')) { + if(strpos($app['categories'],'nav_pinned_app') !== false) { $navbar_apps[] = Zlib\Apps::app_render($app,'navbar'); } else { @@ -282,7 +282,7 @@ EOT; } } elseif(! $is_owner && strpos($app['requires'], 'local_channel') === false) { - if(strpos($app['categories'],'nav_pinned_app')) { + if(strpos($app['categories'],'nav_pinned_app') !== false) { $navbar_apps[] = Zlib\Apps::app_render($app,'navbar'); } else { |