aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/classes/ElggPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 6581df98e..e708a72b5 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -281,7 +281,7 @@ class ElggPlugin extends ElggObject {
* @return bool
*/
public function setSetting($name, $value) {
- if ($this->guid) {
+ if (!$this->guid) {
return false;
}
// Hook to validate setting