]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "common_config returns false if the config value is not set. Design::toWebColo...
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 10 Aug 2009 20:42:21 +0000 (16:42 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 10 Aug 2009 20:42:21 +0000 (16:42 -0400)
This reverts commit 5ba46186b7dd179253023426f6d7cdbbee67ad98.

classes/Design.php

index de3a526f7c5a3351bc9c219e0b1477de33265e92..dc1712aff3f911c068c34422722e182afcadf468 100644 (file)
@@ -204,10 +204,7 @@ class Design extends Memcached_DataObject
                            'disposition');
 
             foreach ($attrs as $attr) {
-                $val = common_config('design', $attr);
-                if ($val !== false) {
-                    $siteDesign->$attr = $val;
-                }
+                $siteDesign->$attr = common_config('design', $attr);
             }
         }