Commit c0b0846c authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor formatting change.

parent eb1aca8a
...@@ -62,11 +62,13 @@ sub Lookup($$) ...@@ -62,11 +62,13 @@ sub Lookup($$)
"where urn='$token'"); "where urn='$token'");
($uuid) = $query_result->fetchrow_array() ($uuid) = $query_result->fetchrow_array()
if( $query_result && $query_result->numrows ); if( $query_result && $query_result->numrows );
} elsif ($token =~ /^\w+\-\w+\-\w+\-\w+\-\w+$/) { }
elsif ($token =~ /^\w+\-\w+\-\w+\-\w+\-\w+$/) {
$uuid = $token; $uuid = $token;
} }
else {
return undef unless defined( $uuid ); return undef;
}
$query_result = $query_result =
DBQueryWarn("select * from geni_certificates where uuid='$uuid'"); DBQueryWarn("select * from geni_certificates where uuid='$uuid'");
......
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