소스 검색

Small fix for "intval" problem with display_html_default.

phutnick 24 년 전
부모
커밋
88c24acf57
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/load_prefs.php

+ 3 - 2
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");