aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggPlugin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index e708a72b5..b6cb792fb 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -292,7 +292,7 @@ class ElggPlugin extends ElggObject {
'value' => $value
), $value);
- return $this->$name = $value;
+ return $this->set($name, $value);
}
@@ -791,11 +791,11 @@ class ElggPlugin extends ElggObject {
}
$this->attributes[$name] = $value;
+
+ return true;
} else {
return set_private_setting($this->guid, $name, $value);
}
-
- return true;
}
/**