Fix test for undef

pull/3750/head
Isaac Connor 2023-07-25 13:24:57 -04:00
parent c54a20ba70
commit b3fb68b293
1 changed files with 2 additions and 2 deletions

View File

@ -181,8 +181,8 @@ sub sendCmdPost {
my $url = shift;
my $form = shift;
if ($url eq undef) {
Error('url passed to sendCmdPost is undefined.');
if (!$url) {
Error('no url passed to sendCmdPost');
return -1;
}