From: Evan Prodromou Date: Mon, 10 Aug 2009 20:42:21 +0000 (-0400) Subject: Revert "common_config returns false if the config value is not set. Design::toWebColo... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa9fcb91846135014eaeb2c14d4069e60b56d65f;p=quix0rs-gnu-social.git Revert "common_config returns false if the config value is not set. Design::toWebColor checks with is_null. Hence the common_config value should be adjusted." This reverts commit 5ba46186b7dd179253023426f6d7cdbbee67ad98. --- diff --git a/classes/Design.php b/classes/Design.php index de3a526f7c..dc1712aff3 100644 --- a/classes/Design.php +++ b/classes/Design.php @@ -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); } }