[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.13-80-gf93a4d3

Kevin Falcone falcone at bestpractical.com
Tue Jun 18 13:42:18 EDT 2013


The branch, 4.0-trunk has been updated
       via  f93a4d3bc6f87bcda670ecde1b0e48264485b48e (commit)
      from  8fe6e357ce2a8025d70dd2fc37c5767ab96342e2 (commit)

Summary of changes:
 lib/RT/Record.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit f93a4d3bc6f87bcda670ecde1b0e48264485b48e
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Jun 17 19:46:43 2013 -0400

    Typo in warning when passing Base and Target while changing Links

diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index 6f28120..61b66d5 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -1304,7 +1304,7 @@ sub _AddLink {
 
     if ( $args{'Base'} and $args{'Target'} ) {
         $RT::Logger->debug( "$self tried to create a link. both base and target were specified" );
-        return ( 0, $self->loc("Can't specifiy both base and target") );
+        return ( 0, $self->loc("Can't specify both base and target") );
     }
     elsif ( $args{'Base'} ) {
         $args{'Target'} = $self->URI();
@@ -1382,7 +1382,7 @@ sub _DeleteLink {
 
     if ( $args{'Base'} and $args{'Target'} ) {
         $RT::Logger->debug("$self ->_DeleteLink. got both Base and Target");
-        return ( 0, $self->loc("Can't specifiy both base and target") );
+        return ( 0, $self->loc("Can't specify both base and target") );
     }
     elsif ( $args{'Base'} ) {
         $args{'Target'} = $self->URI();

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


More information about the Rt-commit mailing list