Index: branches/unlabeled/unlabeled-1.62.2/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r5858 -r5883 --- branches/unlabeled/unlabeled-1.62.2/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 5858) +++ branches/unlabeled/unlabeled-1.62.2/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 5883) @@ -9,7 +9,7 @@ * @access public */ var $Conn; - + function kDBTagProcessor() { parent::kBase(); @@ -570,7 +570,7 @@ if( getArrayValue($params,'nl2br' ) ) $value = nl2br($value); if( !$this->HasParam($params, 'no_special') ) $value = htmlspecialchars($value); - if( getArrayValue($params,'checked' ) ) $value = ($value == 1) ? 'checked' : ''; + if( getArrayValue($params,'checked' ) ) $value = ($value == ( isset($params['value']) ? $params['value'] : 1)) ? 'checked' : ''; if( getArrayValue($params,'as_label') ) $value = $this->Application->Phrase($value); $first_chars = $this->SelectParam($params,'first_chars,cut_first'); @@ -1555,7 +1555,7 @@ $records = array_merge_recursive($records, $heading_records); } } - + function DisplayOriginal($params) { return false;