aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-09 12:51:26 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-09 12:51:26 +0000
commitef14e5afe22128c8ef60c13036f4a43370e2e22c (patch)
treeb586b268575a1e06063de6ff0cfb7e569161c889 /engine/lib/relationships.php
parent1b2a453410488addb98d8c7f769bfd29720093df (diff)
downloadelgg-ef14e5afe22128c8ef60c13036f4a43370e2e22c.tar.gz
elgg-ef14e5afe22128c8ef60c13036f4a43370e2e22c.tar.bz2
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
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php4
1 files changed, 2 insertions, 2 deletions
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;
}