summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-10 16:42:21 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-10 16:42:21 -0400
commitaa9fcb91846135014eaeb2c14d4069e60b56d65f (patch)
treed4b3f6325450d78f660ed00f0c569402b0721550
parent3cdefe998345440ba5ea2ca2ceb33498f8c3b034 (diff)
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.
-rw-r--r--classes/Design.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/classes/Design.php b/classes/Design.php
index de3a526f7..dc1712aff 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);
}
}