X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=clearadm%2Fprocesssystem.cgi;h=b68a9ae8d4d4364bef406e80cbbbf8814c9cf465;hb=7ddf095f187ca60d9a70fb83b2bc3c2b6d91f088;hp=5bec9c206bbbc8af45d2c92a49a711aecae50f93;hpb=020a4a5ea2be725b155cae3a2cadc9aba3911b9b;p=clearscm.git diff --git a/clearadm/processsystem.cgi b/clearadm/processsystem.cgi index 5bec9c2..b68a9ae 100755 --- a/clearadm/processsystem.cgi +++ b/clearadm/processsystem.cgi @@ -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 @@ -181,10 +185,10 @@ L =begin html
-Clearadm
-ClearadmWeb
-Display
-Utils
+Clearadm
+ClearadmWeb
+Display
+Utils
=end html @@ -199,4 +203,4 @@ Please report problems to Andrew DeFaria . Copyright (c) 2010, ClearSCM, Inc. All rights reserved. -=cut \ No newline at end of file +=cut