aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Directory.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-20 19:25:01 +0000
committerMario <mario@mariovavti.com>2022-10-20 19:25:01 +0000
commit7ca289edd0d568a51dfdf225a5ef0e9663c38838 (patch)
tree5af544fa0ff7ca29fad5b57240a7ed2d66c5b2cf /Zotlabs/Module/Directory.php
parentbf434818d7cfac6bf29482d4bb07fc567de2fc90 (diff)
downloadvolse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.tar.gz
volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.tar.bz2
volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Module/Directory.php')
-rw-r--r--Zotlabs/Module/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index c543503e4..8995f709c 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -396,7 +396,7 @@ class Directory extends Controller {
ksort($entries); // Sort array by key so that foreach-constructs work as expected
- if($j['keywords']) {
+ if(isset($j['keywords']) && $j['keywords']) {
App::$data['directory_keywords'] = $j['keywords'];
}