aboutsummaryrefslogtreecommitdiffstats
path: root/include/help.php
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 /include/help.php
parentbb5b33a0d3963aabed2e7b55c67bb7b81492cf9e (diff)
downloadvolse-hubzilla-03aeb888322e792ccb17593761f1f93ad2906c7e.tar.gz
volse-hubzilla-03aeb888322e792ccb17593761f1f93ad2906c7e.tar.bz2
volse-hubzilla-03aeb888322e792ccb17593761f1f93ad2906c7e.zip
fix php warnings
Diffstat (limited to 'include/help.php')
-rw-r--r--include/help.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/help.php b/include/help.php
index 6daf81b8e..8a913578a 100644
--- a/include/help.php
+++ b/include/help.php
@@ -248,7 +248,7 @@ function search_doc_files($s) {
$r[$x]['text'] = substr($r[$x]['body'], $start, $dislen);
$r[$x]['rank'] = 0;
- if($r[$x]['term']) {
+ if(isset($r[$x]['term'])) {
foreach($r[$x]['term'] as $t) {
if(stristr($t['term'],$s)) {
$r[$x]['rank'] ++;