Fix bug I introduced into fey's patch.
Patch by mark.
diffs (12 lines):
diff -r d8a06401cdc4 -r a79cd8187860 cgi-bin/DW/Controller/Nav.pm
--- a/cgi-bin/DW/Controller/Nav.pm Fri Jan 08 23:53:00 2010 +0000
+++ b/cgi-bin/DW/Controller/Nav.pm Sat Jan 09 00:31:16 2010 +0000
@@ -36,7 +36,7 @@ sub nav_handler {
my $cat = $_[0]->subpatterns->[0] || $r->get_args->{cat} || '';
# this function returns an array reference of menu hashes
- my $menu_nav = DW::Logic::MenuNav->get_menu_display( $cat );
+ my $menu_nav = DW::Logic::MenuNav->get_menu_display( $cat )
or return error_ml( '/nav.tt.error.invalidcat' );
# this data doesn't need HTML in the titles, like in the real menu
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog