replaced return; with return undef;
This commit is contained in:
parent
ffa90c5fbd
commit
fa09c41598
113 changed files with 287 additions and 286 deletions
|
|
@ -91,7 +91,7 @@ and set the __PROCESSED flag to prevent processing entries twice.
|
|||
|
||||
sub _process {
|
||||
my ($session, $helpEntry, $key) = @_;
|
||||
return if exists($helpEntry->{__PROCESSED}) and $helpEntry->{__PROCESSED};
|
||||
return undef if exists($helpEntry->{__PROCESSED}) and $helpEntry->{__PROCESSED};
|
||||
$helpEntry->{related} = [ _related($session, $helpEntry->{related}) ];
|
||||
##Add an ISA link unless it already exists.
|
||||
##This simplifies handling later.
|
||||
|
|
@ -157,7 +157,7 @@ sub _get {
|
|||
}
|
||||
else {
|
||||
$session->errorHandler->warn("Unable to load help for $namespace -> $id");
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue