diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-10-23 14:02:19 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-10-23 14:02:19 +0200 |
commit | 8879776d6436ed5257648a1873ddaa9486b25070 (patch) | |
tree | 996c192607ed8b1a4b03bd620deb4b1f3b348a48 /Zotlabs/Module/Follow.php | |
parent | 5edd13c6bb89c7434d8437f8cc74c038371fdbf8 (diff) | |
download | volse-hubzilla-8879776d6436ed5257648a1873ddaa9486b25070.tar.gz volse-hubzilla-8879776d6436ed5257648a1873ddaa9486b25070.tar.bz2 volse-hubzilla-8879776d6436ed5257648a1873ddaa9486b25070.zip |
fix php warnings
Diffstat (limited to 'Zotlabs/Module/Follow.php')
-rw-r--r-- | Zotlabs/Module/Follow.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Follow.php b/Zotlabs/Module/Follow.php index 94daa4c70..54e29c492 100644 --- a/Zotlabs/Module/Follow.php +++ b/Zotlabs/Module/Follow.php @@ -72,8 +72,7 @@ class Follow extends Controller { $uid = local_channel(); $url = notags(trim(punify($_REQUEST['url']))); $return_url = $_SESSION['return_url']; - $confirm = intval($_REQUEST['confirm']); - $interactive = (($_REQUEST['interactive']) ? intval($_REQUEST['interactive']) : 1); + $interactive = $_REQUEST['interactive'] ?? 1; $channel = App::get_channel(); $result = Connect::connect($channel,$url); |