aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-13 09:18:11 +0000
committerMario <mario@mariovavti.com>2020-07-13 09:18:11 +0000
commit774cc852d4bc46a533c5ec2fb533463871721fe0 (patch)
treefd9110efd035f2bc22102c82d49778b384d4dbf0 /include
parent3f69fc70f1958d902e7209c80f661868f9d456b0 (diff)
downloadvolse-hubzilla-774cc852d4bc46a533c5ec2fb533463871721fe0.tar.gz
volse-hubzilla-774cc852d4bc46a533c5ec2fb533463871721fe0.tar.bz2
volse-hubzilla-774cc852d4bc46a533c5ec2fb533463871721fe0.zip
fix php warning
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 6873cc1c3..92e5807b4 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3751,7 +3751,7 @@ function array_path_exists($str,$arr) {
if($search) {
foreach($search as $s) {
- if(is_array($ptr) && array_key_exists($s,$ptr)) {
+ if ($ptr && is_array($ptr) && array_key_exists($s,$ptr)) {
$ptr = $ptr[$s];
}
else {