diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-22 02:05:48 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-22 02:05:48 +0000 |
commit | a6b8576c953b2154322a327f2defe0955f6c168d (patch) | |
tree | 885bc6bc4a8738574fc9a1cc35e574f780c76e4b /engine/classes/ElggPlugin.php | |
parent | e73c0fb18cb2d0bb74fecadeaddcda0ca7d22b92 (diff) | |
download | elgg-a6b8576c953b2154322a327f2defe0955f6c168d.tar.gz elgg-a6b8576c953b2154322a327f2defe0955f6c168d.tar.bz2 |
Fixes #2812 - correct check for guid now
git-svn-id: http://code.elgg.org/elgg/trunk@7894 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggPlugin.php')
-rw-r--r-- | engine/classes/ElggPlugin.php | 2 |
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 |