mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug with AF_NUMERIC
SVN revision: 774
This commit is contained in:
parent
0d1f724c3f
commit
8c10b3a972
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user