From be6d5f0455f1603ea08b92b6444721ea8869e4ac Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 6 Mar 2008 10:28:12 +0000 Subject: Marcus Povey * Fixed get/sets git-svn-id: https://code.elgg.org/elgg/trunk@87 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/objects.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/lib/objects.php') diff --git a/engine/lib/objects.php b/engine/lib/objects.php index f8a4387f3..1541c8dd5 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -334,7 +334,8 @@ private $attributes = array(); - function __get($name) { + function __get($name) { + if (isset($this->attributes[$name])) { return $this->attributes[$name]; } -- cgit v1.2.3