| | @@ -612,19 +612,20 @@ |
| 612 | 612 | /* If called from /debug_tktnew or /debug_tktedit... */ |
| 613 | 613 | @ <font color="blue"> |
| 614 | 614 | @ <p>Ticket artifact that would have been submitted:</p> |
| 615 | 615 | @ <blockquote><pre>%h(blob_str(&tktchng))</pre></blockquote> |
| 616 | 616 | @ <hr /></font> |
| 617 | + return TH_OK; |
| 617 | 618 | }else if( g.thTrace ){ |
| 618 | 619 | Th_Trace("submit_ticket {\n<blockquote><pre>\n%h\n</pre></blockquote>\n" |
| 619 | 620 | "}<br />\n", |
| 620 | 621 | blob_str(&tktchng)); |
| 621 | 622 | }else{ |
| 622 | 623 | ticket_put(&tktchng, zUuid, |
| 623 | 624 | (g.perm.ModTkt==0 && db_get_boolean("modreq-tkt",0)==1)); |
| 624 | 625 | } |
| 625 | | - return TH_OK; |
| 626 | + return TH_RETURN; |
| 626 | 627 | } |
| 627 | 628 | |
| 628 | 629 | |
| 629 | 630 | /* |
| 630 | 631 | ** WEBPAGE: tktnew |
| | @@ -672,11 +673,11 @@ |
| 672 | 673 | captcha_generate(0); |
| 673 | 674 | @ </form> |
| 674 | 675 | if( g.thTrace ) Th_Trace("END_TKTVIEW<br />\n", -1); |
| 675 | 676 | style_footer(); |
| 676 | 677 | run_common_script(); |
| 677 | | - run_script("ticket-change", zNewUuid); |
| 678 | + run_script("xfer-ticket-script", zNewUuid); |
| 678 | 679 | } |
| 679 | 680 | |
| 680 | 681 | /* |
| 681 | 682 | ** WEBPAGE: tktedit |
| 682 | 683 | ** WEBPAGE: debug_tktedit |
| | @@ -742,11 +743,11 @@ |
| 742 | 743 | captcha_generate(0); |
| 743 | 744 | @ </form> |
| 744 | 745 | if( g.thTrace ) Th_Trace("BEGIN_TKTEDIT<br />\n", -1); |
| 745 | 746 | style_footer(); |
| 746 | 747 | run_common_script(); |
| 747 | | - run_script("ticket-change", zName); |
| 748 | + run_script("xfer-ticket-script", zName); |
| 748 | 749 | } |
| 749 | 750 | |
| 750 | 751 | /* |
| 751 | 752 | ** Check the ticket table schema in zSchema to see if it appears to |
| 752 | 753 | ** be well-formed. If everything is OK, return NULL. If something is |
| 753 | 754 | |