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 5ba46186b7.
This commit is contained in:
Evan Prodromou 2009-08-10 16:42:21 -04:00
parent 3cdefe9983
commit aa9fcb9184

View 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);
}
}