diff --git a/bugnote_delete_page.php b/bugnote_delete_page.php index bd19fd3c32..2f8d9cf298 100644 --- a/bugnote_delete_page.php +++ b/bugnote_delete_page.php @@ -5,8 +5,8 @@ # See the README and LICENSE files for details ?> diff --git a/bugnote_update.php b/bugnote_update.php index ba36ed4335..6d40b9a1eb 100644 --- a/bugnote_update.php +++ b/bugnote_update.php @@ -5,7 +5,7 @@ # See the README and LICENSE files for details ?> @@ -13,7 +13,7 @@ project_access_check( $f_id ); check_access( REPORTER ); - $f_bugnote_text = $f_bugnote_text.'\n\n'; + $f_bugnote_text = $f_bugnote_text."\n\n"; $f_bugnote_text = $f_bugnote_text.$s_edited_on.date( $g_normal_date_format ); $c_bugnote_text = string_prepare_textarea( $f_bugnote_text ); $c_bugnote_text_id = (integer)$f_bugnote_text_id; diff --git a/core_custom_attribute_API.php b/core_custom_attribute_API.php index 9c1593455c..b0980f8b7c 100644 --- a/core_custom_attribute_API.php +++ b/core_custom_attribute_API.php @@ -352,7 +352,10 @@ function insert_attributes( $p_enum_name, $p_project_id, $p_selector ) { if ( !ereg(($g_custom_status_slot[0] + 1),$$t_var) ) { for ($i = 0 ; $i < $att_arr_count ; $i++) { $pos = strpos(($$t_var), ',80'); - $$t_var = substr($$t_var,0,$pos).','.($g_custom_status_slot[0]+1+$i).':'.$t_attribute_arr[$i].substr($$t_var,$pos); + # Prevent empty values + if ($t_attribute_arr[$i]) { + $$t_var = substr($$t_var,0,$pos).','.($g_custom_status_slot[0]+1+$i).':'.$t_attribute_arr[$i].substr($$t_var,$pos); + } } # for loop } # if ereg } else { // for other attributes, custom ones are appended after the others, starting with number 110 diff --git a/lang/strings_chinese_simplified.txt b/lang/strings_chinese_simplified.txt index bb2f062399..566a31d0c2 100644 --- a/lang/strings_chinese_simplified.txt +++ b/lang/strings_chinese_simplified.txt @@ -6,11 +6,11 @@ # Chinese_Simplified: Kai-Zheng Cheng, neek@sina.com # ------------------------------------------------- - # $Revision: 1.9 $ - # $Author: jctrosset $ - # $Date: 2002-07-17 15:53:49 $ + # $Revision: 1.10 $ + # $Author: jlatour $ + # $Date: 2002-08-15 00:22:03 $ # - # $Id: strings_chinese_simplified.txt,v 1.9 2002-07-17 15:53:49 jctrosset Exp $ + # $Id: strings_chinese_simplified.txt,v 1.10 2002-08-15 00:22:03 jlatour Exp $ ########################################################################### ?> @@ -52,7 +52,7 @@ $s_announcement = 'Announcement'; $s_stays_on_top = 'Stays on Top'; $s_delete_bugnote_button = 'Bugnote Delete'; - $s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?'; + $s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?'; $s_bug_relationships = 'Relationships'; $s_duplicate_of = 'duplicate of %id'; diff --git a/lang/strings_english.txt b/lang/strings_english.txt index b31d3d301e..669aa5c7da 100644 --- a/lang/strings_english.txt +++ b/lang/strings_english.txt @@ -8,11 +8,11 @@ ########################################################################### # English strings for Mantis # ------------------------------------------------- - # $Revision: 1.59 $ - # $Author: jctrosset $ - # $Date: 2002-08-02 07:59:42 $ + # $Revision: 1.60 $ + # $Author: jlatour $ + # $Date: 2002-08-15 00:22:04 $ # - # $Id: strings_english.txt,v 1.59 2002-08-02 07:59:42 jctrosset Exp $ + # $Id: strings_english.txt,v 1.60 2002-08-15 00:22:04 jlatour Exp $ ########################################################################### ?> # Polish: Jaroslaw Lewandowski # ------------------------------------------------- - # $Revision: 1.34 $ - # $Author: jctrosset $ - # $Date: 2002-07-17 15:53:51 $ + # $Revision: 1.35 $ + # $Author: jlatour $ + # $Date: 2002-08-15 00:22:04 $ # - # $Id: strings_polish.txt,v 1.34 2002-07-17 15:53:51 jctrosset Exp $ + # $Id: strings_polish.txt,v 1.35 2002-08-15 00:22:04 jlatour Exp $ ########################################################################### ?>