mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Fixed problem with missing non-required attribute
SVN revision: 1585
This commit is contained in:
parent
e8515d2718
commit
c687555913
@ -18515,7 +18515,7 @@ void submit_elog(LOGBOOK * lbs)
|
|||||||
if (attr_flags[i] & AF_MULTI)
|
if (attr_flags[i] & AF_MULTI)
|
||||||
strcat(ua, "_0");
|
strcat(ua, "_0");
|
||||||
|
|
||||||
if (isparam(ua) && attr_options[i][0][0]) {
|
if (isparam(ua) && *getparam(ua) && attr_options[i][0][0]) {
|
||||||
|
|
||||||
if (strieq(attr_options[i][0], "boolean")) {
|
if (strieq(attr_options[i][0], "boolean")) {
|
||||||
if (atoi(getparam(ua)) != 0 && atoi(getparam(ua)) != 1) {
|
if (atoi(getparam(ua)) != 0 && atoi(getparam(ua)) != 1) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user