]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix sidebar color bug default design
authorZach Copley <zach@controlyourself.ca>
Wed, 17 Jun 2009 09:58:35 +0000 (02:58 -0700)
committerZach Copley <zach@controlyourself.ca>
Wed, 17 Jun 2009 09:58:35 +0000 (02:58 -0700)
actions/designsettings.php

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