Revision bf7f935d
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/Menu.pm | ||
---|---|---|
97 | 97 |
# first, some sanity check. are all parents valid ids or empty? |
98 | 98 |
for my $node ($self->nodes) { |
99 | 99 |
next if !exists $node->{parent} || !$node->{parent} || $self->{by_id}->{$node->{id}}; |
100 |
die "menu: node $node->{id} has non-existant parent $node->{parent}";
|
|
100 |
die "menu: node $node->{id} has non-existent parent $node->{parent}";
|
|
101 | 101 |
} |
102 | 102 |
|
103 | 103 |
my %by_parent; |
Auch abrufbar als: Unified diff
Menu: Rechtschreibung