# replace lines 19-21 my $hAllDocballs = htmlcode('get_docball_data','',undef,'all'); # replace lines 24-27 my $bFiltered = $q->param('Wi') && $type eq 'wiki'; if (!$bFiltered) { my $type = getNodeById($edit->{edithistory_id} )->{type}{title}; my $sDocball; foreach my $k (keys %$hAllDocballs) { # if $type is one of the nodetypes for this docball # then test the RJE filter param for this nodeball if ($hAllNodeballs->{$k}->{nodetypes}{$type}) { my $sParam = $hAllNodeballs->{$k}{RJEfilter}; $sParam = $k unless defiend($sParam); if ($q->param($sParam)) { $bFiltered = 1; last; } } } } if ($bFiltered) {