diff options
Diffstat (limited to 'pinyweb/cgi-bin/auth/addaccess.cgi')
-rwxr-xr-x | pinyweb/cgi-bin/auth/addaccess.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/auth/addaccess.cgi b/pinyweb/cgi-bin/auth/addaccess.cgi index f86c19e..02b9cb1 100755 --- a/pinyweb/cgi-bin/auth/addaccess.cgi +++ b/pinyweb/cgi-bin/auth/addaccess.cgi @@ -14,7 +14,7 @@ $q = CGI->new; print( "Content-type: text/plain\n\n"); if( defined( $q->param('r') ) && defined( $q->param('n') ) ) { - unless( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'addaccess', $q->param('r'), $q->param('n') ) == 0 ) { + unless( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'addaccess', scalar( $q->param('r') ), scalar( $q->param('n') ) ) == 0 ) { die( 'Addaccess was unsuccessful.' ); }; } else { |