]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2812 - correct check for guid now
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 22 Jan 2011 02:05:48 +0000 (02:05 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 22 Jan 2011 02:05:48 +0000 (02:05 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7894 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggPlugin.php

index 6581df98e05c82545ce600be23046c4e2eccd036..e708a72b564d1d83cacc742cfbbff19d424db9d4 100644 (file)
@@ -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