Commit 61b938de authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix.

parent dbdccf23
......@@ -158,7 +158,7 @@ sub Lookup($$;$)
DBQueryWarn("select * from experiment_resources ".
"where idx='$rsrcidx'");
return -1
return undef
if (!$query_result || !$query_result->numrows);
$self->{'RSRC'} = $query_result->fetchrow_hashref();
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