forked from GNUsocial/gnu-social
Fix sidebar color bug default design
This commit is contained in:
parent
76cbeff33c
commit
2866d00517
@ -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: ' .
|
||||||
|
Loading…
Reference in New Issue
Block a user