Commit b6676b2f authored by Jonathon Duerig's avatar Jonathon Duerig

Handle lack non-existence of nextosid more gracefully.

parent 6b001436
......@@ -887,7 +887,7 @@ while (my ($osid) = $result->fetchrow()) {
# Check to see if they were allowed to use the real OSID
#
my $realosid = TBResolveNextOSID($osid, $pid, $exempt_eid);
if ($osid_node_types{$realosid}) {
if (defined($realosid) && $osid_node_types{$realosid}) {
foreach my $type (@{$osid_node_types{$realosid}}) {
push @{$node_type_osids{$type}}, $osid;
}
......
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