From ce17b5533a6904856443a886012d8b25b590e382 Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Tue, 22 Mar 2022 14:35:57 -0700 Subject: [PATCH] Update Mapper.php --- lib/net/authorize/util/Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/authorize/util/Mapper.php b/lib/net/authorize/util/Mapper.php index 02954fed..f3ae19d5 100755 --- a/lib/net/authorize/util/Mapper.php +++ b/lib/net/authorize/util/Mapper.php @@ -86,7 +86,7 @@ public function getClass($class, $property){ return $obj; } - else if(get_parent_class($class)){ + else if((is_object($class) || (is_string($class) && class_exists($class ))) && get_parent_class($class)){ //echo "Checking parent class in YAML - ".get_parent_class($class)." -".$class." - ".$property."\n"; return $this->getClass(get_parent_class($class), $property); }