Commit 08ae0d32 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor syntax fix.

parent 986de2a9
......@@ -2575,8 +2575,8 @@ sub GetTicketAuxAux($)
foreach my $property (GeniXML::GetLinkProperties($linkref)) {
my $source = GetText("source_id", $property);
my $dest = GetText("dest_id", $property);
if (!(defined($source) && defined($dest) ||
$source eq "" || $dest eq "")) {
if (!defined($source) || !defined($dest) ||
$source eq "" || $dest eq "") {
GeniResponse->Create(GENIRESPONSE_BADARGS, undef,
"$lanname: Missing source or dest in property");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment