From 8c10b3a972d21996e52bf3dcdc86e244ad97eb4c Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 17 Feb 2004 08:38:56 +0000 Subject: [PATCH] Fixed bug with AF_NUMERIC SVN revision: 774 --- src/elogd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 664b7bb3..a6f5fb65 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.253 2004/02/17 08:38:56 midas + Fixed bug with AF_NUMERIC + Revision 1.252 2004/02/17 08:14:43 midas Redesigned date quick filter @@ -12707,7 +12710,7 @@ void submit_elog(LOGBOOK * lbs) /* check for numeric attributes */ for (index = 0; index < lbs->n_attr; index++) - if (attr_flags[index] & AF_REQUIRED) { + if (attr_flags[index] & AF_NUMERIC) { strcpy(ua, attr_list[index]); btou(ua); strlcpy(str, getparam(ua), sizeof(str));