aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}