X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=clearadm%2Fprocesssystem.cgi;h=b68a9ae8d4d4364bef406e80cbbbf8814c9cf465;hb=0c802537ec02d6cfea4c41b3138535c09a319489;hp=8bdd2e2b3a20b353681b73ade9f7cbbc8e8144e9;hpb=bdb1e0c845a6921e22d52fbff3404d5c1dfae520;p=clearscm.git diff --git a/clearadm/processsystem.cgi b/clearadm/processsystem.cgi index 8bdd2e2..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 @@ -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