Fixed bug with AF_NUMERIC

SVN revision: 774
This commit is contained in:
Stefan Ritt 2004-02-17 08:38:56 +00:00
parent 0d1f724c3f
commit 8c10b3a972

View File

@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG Contents: Web server program for Electronic Logbook ELOG
$Log$ $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 Revision 1.252 2004/02/17 08:14:43 midas
Redesigned date quick filter Redesigned date quick filter
@ -12707,7 +12710,7 @@ void submit_elog(LOGBOOK * lbs)
/* check for numeric attributes */ /* check for numeric attributes */
for (index = 0; index < lbs->n_attr; index++) 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]); strcpy(ua, attr_list[index]);
btou(ua); btou(ua);
strlcpy(str, getparam(ua), sizeof(str)); strlcpy(str, getparam(ua), sizeof(str));