diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-17 13:12:53 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-17 13:12:53 (GMT) |
commit | df18aa673e1dd90133b4d5b2381773b017fef729 (patch) | |
tree | bd4f4d2acbeb2cc4b796547395e968ba7889442e /rh-bin/musicgrid.cgi | |
parent | 67e786d43bc65dad5c0ffe816af08c19e7f55c40 (diff) |
added sanity checks for listdropboxes.cgi
Diffstat (limited to 'rh-bin/musicgrid.cgi')
-rwxr-xr-x | rh-bin/musicgrid.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rh-bin/musicgrid.cgi b/rh-bin/musicgrid.cgi index 6e18e7e..1ec5313 100755 --- a/rh-bin/musicgrid.cgi +++ b/rh-bin/musicgrid.cgi @@ -35,6 +35,9 @@ my @clocks = (); my $q = CGI->new; my $username = $q->param('LOGIN_NAME'); my $token = $q->param('PASSWORD'); +my $command = $q->param('PASSWORD'); + +if(!defined $command (my $ctx, $status, $errorstring) = RHRD::rddb::init(); if(defined $ctx) { |