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