Big update of Clearadm
[clearscm.git] / clearadm / processsystem.cgi
index 8bdd2e2..b68a9ae 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
 
 =pod
 
@@ -86,7 +86,11 @@ my $title = 'Process System';
 
 heading $title;
 
-unless ($opts{'delete.x'} or $opts{'edit.x'} or $opts{action} eq 'Post') {
+unless ($opts{'delete.x'}
+     or $opts{'edit.x'}
+     or $opts{action} eq 'Post'
+     or $opts{action} eq 'Add'
+  ) {
   displayError 'Action not defined!';
   exit 1;
 } # unless
@@ -199,4 +203,4 @@ Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
 
 Copyright (c) 2010, ClearSCM, Inc. All rights reserved.
 
-=cut
\ No newline at end of file
+=cut