[Rt-commit] r5062 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR

alexmv at bestpractical.com alexmv at bestpractical.com
Mon Apr 24 15:03:49 EDT 2006


Author: alexmv
Date: Mon Apr 24 15:03:47 2006
New Revision: 5062

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html

Log:
 r12484 at zoq-fot-pik:  chmrr | 2006-04-24 15:02:04 -0400
  * Logic error -- incident is only required for a block


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html	Mon Apr 24 15:03:47 2006
@@ -375,9 +375,9 @@
 push @results, $m->comp( 'SELF:ProcessAttachments', %ARGS );
 
 if ( $ARGS{'Create'} ) {
-    if ( $Type eq 'Investigation' && !$ARGS{'Requestors'} ) {
+    if ( $Type eq 'Investigation' and not $ARGS{'Requestors'} ) {
         push @results, loc( "Investigation launch failed: You must enter a correspondent." );
-    } elsif ( $Type eq 'Block' || !$IncidentObj ) {
+    } elsif ( $Type eq 'Block' and not $IncidentObj ) {
         push @results, loc( "Block creation failed: You must enter an Incident ID" );
     } else {
         $ARGS{'new-MemberOf'} = $parentvalue if $parentvalue;


More information about the Rt-commit mailing list