Commit 3c26fffb authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix to Delete().

parent c593400d
......@@ -386,7 +386,8 @@ sub Delete($;$)
my $rsrcidx = $self->rsrcidx();
DBQueryWarn("DELETE from experiment_resources ".
"WHERE idx=$rsrcidx");
"WHERE idx='$rsrcidx'")
if (defined($rsrcidx) && $rsrcidx);
DBQueryWarn("DELETE from testbed_stats ".
"WHERE exptidx=$exptidx");
......
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