aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Hq.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-26 21:40:27 +0000
committerMario <mario@mariovavti.com>2022-10-26 21:40:27 +0000
commit5d7081a22446aa8f67e38a115cb89e8ea60c3f9e (patch)
tree216c606a432082d95c2d9a97fde1ee20298f8a53 /Zotlabs/Module/Hq.php
parent9cbdf3f31f6493c61705351fb55827928d0b7387 (diff)
downloadvolse-hubzilla-5d7081a22446aa8f67e38a115cb89e8ea60c3f9e.tar.gz
volse-hubzilla-5d7081a22446aa8f67e38a115cb89e8ea60c3f9e.tar.bz2
volse-hubzilla-5d7081a22446aa8f67e38a115cb89e8ea60c3f9e.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Module/Hq.php')
-rw-r--r--Zotlabs/Module/Hq.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php
index cd95ac4b0..0b2d0ea7d 100644
--- a/Zotlabs/Module/Hq.php
+++ b/Zotlabs/Module/Hq.php
@@ -243,8 +243,8 @@ class Hq extends \Zotlabs\Web\Controller {
if (!local_channel())
return;
- $options['offset'] = $_REQUEST['offset'];
- $options['type'] = $_REQUEST['type'];
+ $options['offset'] = $_REQUEST['offset'] ?? 0;
+ $options['type'] = $_REQUEST['type'] ?? '';
$ret = Messages::get_messages_page($options);