Commit 007c0ad4 authored by Leigh Stoller's avatar Leigh Stoller

Fix minor bugs (I should make this my default message).

parent dc8343aa
...@@ -1149,7 +1149,7 @@ sub ParseArgs() ...@@ -1149,7 +1149,7 @@ sub ParseArgs()
error => ['bad_data', 'argument', $instance_idx]}, error => ['bad_data', 'argument', $instance_idx]},
"Bad data in argument: $instance_idx."); "Bad data in argument: $instance_idx.");
} }
$instance = Template::Instance->LookupByExptidx($instance_idx); $instance = Template::Instance->LookupByID($instance_idx);
if (!defined($instance)) { if (!defined($instance)) {
tbdie("No such template instance $instance_idx"); tbdie("No such template instance $instance_idx");
} }
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