From 0bacae79f75a48886100d76d10149bc4a4671ea8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 23 Dec 2005 01:46:23 +0000 Subject: [PATCH] r671: The mask cannot be 0 in construct_custom_field() with $ignore21mask --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 632100b..612054f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -180,7 +180,7 @@ function construct_custom_fields($bug = array(), $ignore21mask = false, $nodefau $value = $field['defaultvalue']; } - if ($ignore21mask) + if ($ignore21mask AND $field['mask'] != 0) { $field['mask'] = 2; } -- 2.43.5