From 5a4e33b7b271f0b24bf635915989f3ad4150cc86 Mon Sep 17 00:00:00 2001 From: phutnick Date: Wed, 12 Sep 2001 20:22:36 +0000 Subject: [PATCH] Small fix for "intval" problem with display_html_default. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1499 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/load_prefs.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/load_prefs.php b/src/load_prefs.php index c5f15a29..161c49f4 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -225,8 +225,9 @@ 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"); -- 2.25.1