Permalink
Browse files

Fix killword value

  • Loading branch information...
julmis
julmis committed Apr 19, 2005
1 parent b82faac commit 6ce55d9ac47dcd8f214d6016d76e4e12dbacf0f0
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/editor.php
View
@@ -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 : '';

0 comments on commit 6ce55d9

Please sign in to comment.