Small fix for "intval" problem with display_html_default.
authorphutnick <phutnick@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 12 Sep 2001 20:22:36 +0000 (20:22 +0000)
committerphutnick <phutnick@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 12 Sep 2001 20:22:36 +0000 (20:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1499 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/load_prefs.php

index c5f15a2..161c49f 100644 (file)
        
    global $collapse_folders, $show_html_default;
    $collapse_folders = getPref($data_dir, $username, 'collapse_folders');
-   
-   $show_html_default = getPref($data_dir, $username, 'show_html_default');
+  
+   // show_html_default is a int value 
+   $show_html_default = intval(getPref($data_dir, $username, 'show_html_default'));
 
    do_hook("loading_prefs");