From 6ce55d9ac47dcd8f214d6016d76e4e12dbacf0f0 Mon Sep 17 00:00:00 2001 From: julmis Date: Tue, 19 Apr 2005 12:18:32 +0000 Subject: [PATCH] Fix killword value --- admin/editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/editor.php b/admin/editor.php index 6bf2fb8c53d..cf9a30c4e62 100644 --- a/admin/editor.php +++ b/admin/editor.php @@ -102,7 +102,7 @@ function editor_update_config ($data) { $updatedata['editorbackgroundcolor'] = !empty($data->backgroundcolor) ? $data->backgroundcolor : "#ffffff"; $updatedata['editorfontfamily'] = !empty($data->fontfamily) ? str_replace($nochars,"",$data->fontfamily) : "Times New Roman, Times"; $updatedata['editorfontsize'] = !empty($data->fontsize) ? $data->fontsize : ""; - $updatedata['editorkillword'] = !empty($data->killword) ? $data->killword : "true"; + $updatedata['editorkillword'] = !empty($data->killword) ? $data->killword : 0; $updatedata['editorspelling'] = !empty($data->spelling) ? $data->spelling : 0; $updatedata['editorfontlist'] = $fontlist; $updatedata['editordictionary'] = !empty($data->dictionary) ? $data->dictionary : '';