diff --git a/src/elogd.c b/src/elogd.c index afe5e87f..7e5a3486 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -10173,7 +10173,8 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("\n"); for (j = 0; j < n_moptions; j++) - if (strcmp(attr_moptions[j], user_list[i]) == 0) + if (strcmp(attr_moptions[j], user_list[i]) == 0 || + strcmp(attr_moptions[j]+7, user_list[i]) == 0) break; if (j < n_moptions) @@ -10218,7 +10219,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL break; get_user_line(lbs, login_name, NULL, NULL, str, NULL, NULL); - if (strieq(str, attrib[index])) + if (strieq(str, attrib[index]) || strieq(str, attrib[index]+7)) rsprintf("