Index: trunk/kernel/include/theme.php =================================================================== diff -u -r423 -r479 --- trunk/kernel/include/theme.php (.../theme.php) (revision 423) +++ trunk/kernel/include/theme.php (.../theme.php) (revision 479) @@ -614,6 +614,7 @@ function SetPrimaryTheme($ThemeId) { $theme = $this->GetItem($ThemeId); + $theme->Dirty(); if($theme->Get("Enabled")==1) { $sql = "UPDATE ".$this->SourceTable." SET PrimaryTheme=0";