use constant instead of integer for hour format pref default
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Mar 2005 20:20:24 +0000 (20:20 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Mar 2005 20:20:24 +0000 (20:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8935 7612ce4b-ef26-0410-bec9-ea0150e637f0

include/load_prefs.php

index b1dca886b6229091eb915b22da6e3cf83d9b95bc..a55aaf248bf6abc5285d6b9fae0e43d9ccf48894 100644 (file)
@@ -245,7 +245,7 @@ $page_selector_max = getPref($data_dir, $username, 'page_selector_max', 10);
 
 /* SqClock now in the core */
 $date_format = getPref($data_dir, $username, 'date_format', 3);
-$hour_format = getPref($data_dir, $username, 'hour_format', 2);
+$hour_format = getPref($data_dir, $username, 'hour_format', SMPREF_TIME_12HR);
 
 /*  compose in new window setting */
 $compose_new_win = getPref($data_dir, $username, 'compose_new_win', 0);