aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 02:22:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 02:22:09 +0000
commitc26ca19ce60abb5e6a1126708441988e172eca70 (patch)
tree5690bcad9286239e03578a4d68debfda8806b2d1 /engine
parent434328e654f5aebd8da8971c98533d9a2a3b3ccc (diff)
downloadelgg-c26ca19ce60abb5e6a1126708441988e172eca70.tar.gz
elgg-c26ca19ce60abb5e6a1126708441988e172eca70.tar.bz2
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
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;
}
/**