From 774cc852d4bc46a533c5ec2fb533463871721fe0 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 13 Jul 2020 09:18:11 +0000 Subject: fix php warning --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') 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 { -- cgit v1.2.3