[Rt-commit] r5651 - rt/branches/3.6-RELEASE/lib/RT/Interface

ruz at bestpractical.com ruz at bestpractical.com
Tue Jul 25 19:44:14 EDT 2006


Author: ruz
Date: Tue Jul 25 19:44:13 2006
New Revision: 5651

Modified:
   rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm

Log:
* If a ticket is created with _RecordTransaction set to
  zero, it's not an error when zero is returned as the
  transaction id. Thanks, Todd.

Modified: rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm	Tue Jul 25 19:44:13 2006
@@ -444,7 +444,7 @@
   
  
     my ( $id, $Trans, $ErrMsg ) = $Ticket->Create(%create_args);
-    unless ( $id && $Trans ) {
+    unless ( $id ) {
         Abort($ErrMsg);
     }
 


More information about the Rt-commit mailing list