aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-07 12:50:46 +0000
committerMario <mario@mariovavti.com>2022-09-07 12:50:46 +0000
commitfcfb9e975836c4abbbfd339d46bf8ea937747e57 (patch)
treebbe6a8f19831eba6f9488c8e26687362870e0021 /Zotlabs/Lib
parent9beee689ce5537d0b64f20ccfe461eeb7c41ffa8 (diff)
downloadvolse-hubzilla-fcfb9e975836c4abbbfd339d46bf8ea937747e57.tar.gz
volse-hubzilla-fcfb9e975836c4abbbfd339d46bf8ea937747e57.tar.bz2
volse-hubzilla-fcfb9e975836c4abbbfd339d46bf8ea937747e57.zip
fix random php warnings
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Apps.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index 98ebc546a..a29992bbc 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -521,8 +521,13 @@ class Apps {
$hosturl = '';
if(local_channel()) {
- if(self::app_installed(local_channel(),$papp) && !$papp['deleted'])
+ if(self::app_installed(local_channel(),$papp)) {
$installed = true;
+ }
+
+ if ($installed && isset($papp['deleted']) && $papp['deleted']) {
+ $installed = false;
+ }
$hosturl = z_root() . '/';
}