Fossil

Diff
Login

Diff

Differences From Artifact [49e2858c0f]:

To Artifact [50e09321db]:


610
611
612
613
614
615
616
617
618
619
620
621

622
623


624
625
626
627
628
629
630
631
610
611
612
613
614
615
616

617
618
619
620
621


622
623

624
625
626
627
628
629
630







-




+
-
-
+
+
-







  }
  if( g.zPath[0]=='d' ){
    /* If called from /debug_tktnew or /debug_tktedit... */
    @ <font color="blue">
    @ <p>Ticket artifact that would have been submitted:</p>
    @ <blockquote><pre>%h(blob_str(&tktchng))</pre></blockquote>
    @ <hr /></font>
    return TH_OK;
  }else if( g.thTrace ){
    Th_Trace("submit_ticket {\n<blockquote><pre>\n%h\n</pre></blockquote>\n"
             "}<br />\n",
       blob_str(&tktchng));
  }else{
  }else if( ticket_put(&tktchng, zUuid,
      (g.perm.ModTkt==0 && db_get_boolean("modreq-tkt",0)==1))) {
    ticket_put(&tktchng, zUuid,
               (g.perm.ModTkt==0 && db_get_boolean("modreq-tkt",0)==1));
    return TH_ERROR;
  }
  return TH_OK;
}


/*
** WEBPAGE: tktnew