[Bps-public-commit] RT-Extension-ReportSpam branch, master, updated. 0.10-1-gce2d2a9

Thomas Sibley trs at bestpractical.com
Fri Apr 5 16:00:52 EDT 2013


The branch, master has been updated
       via  ce2d2a913e24923edde0f3812cc652e7c2b1a54f (commit)
      from  078300f52a5d6af571e68731a5fe018ee6677d3b (commit)

Summary of changes:
 html/Ticket/Elements/ReportSpam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit ce2d2a913e24923edde0f3812cc652e7c2b1a54f
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Apr 5 13:00:38 2013 -0700

    Fix the error message when undeleting a mistakenly marked ticket

diff --git a/html/Ticket/Elements/ReportSpam b/html/Ticket/Elements/ReportSpam
index 6a3c055..9f27be9 100644
--- a/html/Ticket/Elements/ReportSpam
+++ b/html/Ticket/Elements/ReportSpam
@@ -48,7 +48,7 @@ if ( $Toggle ) {
             && $ticket->CurrentUserHasRight('ModifyTicket')
         ) {
             my ($status, $msg) = $ticket->SetStatus('open');
-            RT->Logger->error("Couldn't delete ticket: $msg")
+            RT->Logger->error("Couldn't undelete ticket: $msg")
                 unless $status;
         }
         my ($status, $msg) = $ticket->DeleteAttribute(

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list