From c26ca19ce60abb5e6a1126708441988e172eca70 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 22 Jan 2011 02:22:09 +0000 Subject: fixed bug with plugin settings because of assignment operator confusion git-svn-id: http://code.elgg.org/elgg/trunk@7896 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggPlugin.php | 6 +++--- 1 file 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; } /** -- cgit v1.2.3