Fix sidebar color bug default design

This commit is contained in:
Zach Copley 2009-06-17 02:58:35 -07:00
parent 76cbeff33c
commit 2866d00517

View File

@ -353,14 +353,14 @@ class DesignsettingsAction extends AccountSettingsAction
$design->sidebarcolor = $color->intValue(); $design->sidebarcolor = $color->intValue();
$color->parseColor($defaults['textcolor']); $color->parseColor($defaults['textcolor']);
$design->sidebarcolor = $color->intValue(); $design->textcolor = $color->intValue();
$color->parseColor($defaults['linkcolor']); $color->parseColor($defaults['linkcolor']);
$design->linkcolor = $color->intValue(); $design->linkcolor = $color->intValue();
$design->backgroundimage = $defaults['backgroundimage']; $design->backgroundimage = $defaults['backgroundimage'];
$deisng->disposition = $defaults['disposition']; $design->disposition = $defaults['disposition'];
} catch (WebColorException $e) { } catch (WebColorException $e) {
common_log(LOG_ERR, _('Bad default color settings: ' . common_log(LOG_ERR, _('Bad default color settings: ' .