Templatize the info editing boxes
[citadel.git] / webcit / useredit.c
index fd26e8a392581d1212da22f9b50b8c8932aa73d9..2751ecde955b70c7fe6d54c2d065fb1f422f13d7 100644 (file)
@@ -451,6 +451,9 @@ void tmplput_USER_BIO(StrBuf *Target, WCTemplputParams *TP)
        long len;
 
        GetTemplateTokenString(Target, TP, 0, &who, &len);
+       if (len == 0) {
+               who = ChrPtr(WC->wc_fullname);
+       }
 
        Buf = NewStrBuf();
        serv_printf("RBIO %s", who);