[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to gnats/gnats/edit.c
From: |
Yngve Svendsen |
Subject: |
Changes to gnats/gnats/edit.c |
Date: |
Mon, 28 Oct 2002 17:57:50 -0500 |
Index: gnats/gnats/edit.c
diff -c gnats/gnats/edit.c:1.58 gnats/gnats/edit.c:1.59
*** gnats/gnats/edit.c:1.58 Thu Oct 24 08:45:09 2002
--- gnats/gnats/edit.c Mon Oct 28 17:57:50 2002
***************
*** 1105,1111 ****
while (fields != NULL)
{
const char *fldval = get_field_value (pr, oldPR, fields->ent, NULL,
NULL);
! if (fldval == NULL || *fldval == '\0')
{
setError (err, CODE_INVALID_PR_CONTENTS,
"Required field %s missing from PR %s.",
--- 1105,1111 ----
while (fields != NULL)
{
const char *fldval = get_field_value (pr, oldPR, fields->ent, NULL,
NULL);
! if (value_is_empty (fldval))
{
setError (err, CODE_INVALID_PR_CONTENTS,
"Required field %s missing from PR %s.",