Diff
Not logged in

Differences From:

File src/tkt.c part of check-in [2664476fbc] - Make sure the tkt_uuid and tkt_datetime TH1 variables are initialized on a ticket display, even if no matching ticket is found. by drh on 2008-11-09 13:22:41. [view]

To:

File src/tkt.c part of check-in [ed5179db1f] - Enable the "Edit" submenu link on the Ticket View page when the user has ticket append privilege. Fix for part of ticket 7b9be0b127. by drh on 2008-11-15 21:17:31. [view]

@@ -326,9 +326,9 @@
 void tktview_page(void){
   const char *zScript;
   login_check_credentials();
   if( !g.okRdTkt ){ login_needed(); return; }
-  if( g.okWrTkt ){
+  if( g.okWrTkt || g.okApndTkt ){
     style_submenu_element("Edit", "Edit The Ticket", "%s/tktedit?name=%T",
         g.zTop, PD("name",""));
   }
   if( g.okHistory ){