Changeset 651 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
12/17/14 17:41:22 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak delete result page to include block type in case of confusing
allocation structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r638 r651  
    881881
    882882  $page->param(block => $blockinfo->{block});
     883  $page->param(bdisp => $q->escapeHTML($disp_alloctypes{$blockinfo->{type}}));
    883884  $page->param(delparent_id => $blockinfo->{parent_id});# if $webvar{rdepth};
    884   $page->param(delparent => $pinfo->{block});
     885  if ($pinfo) {
     886    $page->param(delparent => $pinfo->{block});
     887    $page->param(pdisp => $q->escapeHTML($disp_alloctypes{$pinfo->{type}}));
     888  }
    885889  $page->param(returnpool => ($webvar{basetype} eq 'i') );
    886890  if ($code =~ /^WARN(POOL|MERGE)/) {
Note: See TracChangeset for help on using the changeset viewer.