Fix test for undef

This commit is contained in:
Isaac Connor committed 2023-07-25 13:24:57 -04:00
1 parent c54a20ba70
commit b3fb68b293
1 file changed
+2 -2
@@ -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;
}