* add 'control context'; which will carry information from control elements into...
[citadel.git] / webcit / graphics.c
index ba879dc35aac4bd09d9e47da2acff8444d594160..361c19752456bbe4eb81bd8acaa41f8982c58461 100644 (file)
@@ -28,7 +28,7 @@ void display_graphics_upload(char *description, char *filename, char *uplurl)
 
        Buf = NewStrBufPlain(_("Image upload"), -1);
        memset(&SubTP, 0, sizeof(WCTemplputParams));
-       SubTP.ContextType = CTX_STRBUF;
+       SubTP.Filter.ContextType = CTX_STRBUF;
        SubTP.Context = Buf;
        DoTemplate(HKEY("beginbox"), NULL, &SubTP);