From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- framework/Util/TDataFieldAccessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Util/TDataFieldAccessor.php') diff --git a/framework/Util/TDataFieldAccessor.php b/framework/Util/TDataFieldAccessor.php index 35ae5228..10bb678e 100644 --- a/framework/Util/TDataFieldAccessor.php +++ b/framework/Util/TDataFieldAccessor.php @@ -54,7 +54,7 @@ class TDataFieldAccessor { try { - if(is_array($data) || ($data instanceof ArrayAccess)) + if(is_array($data) || ($data instanceof \ArrayAccess)) { if(isset($data[$field])) return $data[$field]; -- cgit v1.2.3