X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Frandom.php;h=b6af679bf9a66ff8e32a76fc5581b1fd6cdbb3cf;hb=491696a82ef78b134758fc56089d25fc3f70edff;hp=38094b7b191887e3fd5896b72d3a08233acc7180;hpb=76911253eb850bacde3d86c8cb7b4af072e67ebe;p=squirrelmail.git diff --git a/themes/random.php b/themes/random.php index 38094b7b..b6af679b 100755 --- a/themes/random.php +++ b/themes/random.php @@ -26,8 +26,9 @@ if (!sqsession_is_registered('random_theme_good_theme')) { $good_themes[] = $data['PATH']; } } - if (count($good_themes) == 0) - $good_themes[] = '../themes/default.php'; + if (count($good_themes) == 0) { + $good_themes[] = '../themes/default.php'; + } $which = mt_rand(0, count($good_themes)); $random_theme_good_theme = $good_themes[$which]; sqsession_register($random_theme_good_theme, 'random_theme_good_theme');