mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
parent
c1d6554630
commit
e3258ae7cb
@ -8725,6 +8725,7 @@ BOOL is_author(LOGBOOK * lbs, char attrib[MAX_N_ATTR][NAME_LENGTH], char *owner)
|
|||||||
|
|
||||||
if (i == lbs->n_attr) {
|
if (i == lbs->n_attr) {
|
||||||
/* if not found, search attribute which contains full_name of author */
|
/* if not found, search attribute which contains full_name of author */
|
||||||
|
if (isparam("unm")) {
|
||||||
get_full_name(lbs, getparam("unm"), full_name);
|
get_full_name(lbs, getparam("unm"), full_name);
|
||||||
for (i = 0; i < lbs->n_attr; i++) {
|
for (i = 0; i < lbs->n_attr; i++) {
|
||||||
sprintf(str, "Preset %s", attr_list[i]);
|
sprintf(str, "Preset %s", attr_list[i]);
|
||||||
@ -8739,6 +8740,7 @@ BOOL is_author(LOGBOOK * lbs, char attrib[MAX_N_ATTR][NAME_LENGTH], char *owner)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user