/[A3C]/lib/Strix.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Strix.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 181 by dpavlin, Mon Jun 16 20:08:28 2008 UTC revision 182 by dpavlin, Mon Jun 16 21:29:50 2008 UTC
# Line 236  sub site_navigation { Line 236  sub site_navigation {
236                  }                  }
237    
238                  my $depth = $kat->{depth};                  my $depth = $kat->{depth};
239                    if ( ! defined $pos[ $depth - 2 ] ) {
240                            warn "FIXING CATEGORY: ",dump( $kat );
241                            $node->{class} = "error";
242                            $depth--;
243                    }
244                  @pos = splice( @pos, 0, $depth );                  @pos = splice( @pos, 0, $depth );
245                  $pos[ $depth - 1 ]++;                  $pos[ $depth - 1 ]++;
246    

Legend:
Removed from v.181  
changed lines
  Added in v.182

  ViewVC Help
Powered by ViewVC 1.1.26