use non-ACL'ed _AddLink instead of AddLink so that the auto-association stuff works...
[freeside.git] / rt / lib / RT / Ticket_Overlay.pm
index 570237c..c95e8d9 100644 (file)
@@ -713,7 +713,7 @@ sub Create {
                         'Target' => "freeside://freeside/cust_main/$custnum",
                       );
 
-           my( $val, $msg ) = $Requestor->AddLink(@link);
+           my( $val, $msg ) = $Requestor->_AddLink(@link);
            #XXX should do something with $msg# push @non_fatal_errors, $msg;
 
          }
@@ -743,7 +743,7 @@ sub Create {
                      'Target' => $cust_target,
                    );
   
-        my( $val, $msg ) = $self->AddLink(@link);
+        my( $val, $msg ) = $self->_AddLink(@link);
         push @non_fatal_errors, $msg;
   
       }