From ef14e5afe22128c8ef60c13036f4a43370e2e22c Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 9 Dec 2009 12:51:26 +0000 Subject: fixes #1323 and #1186 - PHP 5.3 requires magic methods to be public git-svn-id: http://code.elgg.org/elgg/trunk@3744 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/relationships.php') diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index dd63e2ac2..865365f9d 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -59,7 +59,7 @@ class ElggRelationship implements * @param string $name * @return mixed */ - protected function __get($name) { + function __get($name) { if (isset($this->attributes[$name])) { return $this->attributes[$name]; } @@ -74,7 +74,7 @@ class ElggRelationship implements * @param mixed $value * @return mixed */ - protected function __set($name, $value) { + function __set($name, $value) { $this->attributes[$name] = $value; return true; } -- cgit v1.2.3