From 82e93347c10b00473f9c1c7daab301301b5cf42e Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Fri, 13 Sep 2013 13:07:05 -0400 Subject: [PATCH] Fix typo. --- test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.php b/test.php index a412dcb..c8dd25d 100644 --- a/test.php +++ b/test.php @@ -361,7 +361,7 @@ class JsonLdTest { return $err->getCode(); } if($err->cause) { - return $this->getJsonLdErrorCode($err); + return $this->getJsonLdErrorCode($err->cause); } } return $err->getMessage();