Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16075
Modified Files:
bug_update.php
Log Message:
fix for 0005021: Custom fields don't get updated in version 0.19.2
Index: bug_update.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_update.php,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- bug_update.php 1 Dec 2004 17:40:57 -0000 1.80
+++ bug_update.php 13 Jan 2005 17:37:34 -0000 1.81
@@ -93,7 +93,10 @@
$t_custom_field_value = gpc_get_custom_field(
"custom_field_$t_id", $t_def['type'], null );
# Only update the field if it would have been display for
editing
- if( !( $t_def['display_' . $t_custom_status_label] ||
$t_def['require_' . $t_custom_status_label] ) ) {
+ if( !( $t_def['display_' . $t_custom_status_label] ||
+ $t_def['require_' .
$t_custom_status_label] ||
+ ( $f_update_mode &&
$t_def['display_update'] ) ||
+ ( $f_update_mode &&
$t_def['require_update'] ) ) ) {
continue;
}
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|