aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-20 10:25:11 +0000
committerMario <mario@mariovavti.com>2022-10-20 10:25:11 +0000
commit03aeb888322e792ccb17593761f1f93ad2906c7e (patch)
treeadd80416bc31fc791bf9118be3562a32503897f2 /Zotlabs
parentbb5b33a0d3963aabed2e7b55c67bb7b81492cf9e (diff)
downloadvolse-hubzilla-03aeb888322e792ccb17593761f1f93ad2906c7e.tar.gz
volse-hubzilla-03aeb888322e792ccb17593761f1f93ad2906c7e.tar.bz2
volse-hubzilla-03aeb888322e792ccb17593761f1f93ad2906c7e.zip
fix php warnings
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Help.php2
-rw-r--r--Zotlabs/Module/Search.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Help.php b/Zotlabs/Module/Help.php
index bfe1d4e12..55ac80842 100644
--- a/Zotlabs/Module/Help.php
+++ b/Zotlabs/Module/Help.php
@@ -17,6 +17,8 @@ class Help extends \Zotlabs\Web\Controller {
function get() {
nav_set_selected('Help');
+ $o = '';
+
if(isset($_REQUEST['search']) && $_REQUEST['search']) {
$o .= '<div id="help-content" class="generic-content-wrapper">';
$o .= '<div class="section-title-wrapper">';
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index da4752186..c88bc4534 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -33,7 +33,7 @@ class Search extends Controller {
require_once('include/security.php');
- $format = (($_REQUEST['format']) ? $_REQUEST['format'] : '');
+ $format = $_REQUEST['format'] ?? '';
if ($format !== '') {
$update = $load = 1;
}