FreeBSD tag field fix
authorJamie Cameron <jcameron@webmin.com>
Fri, 15 Feb 2008 18:16:22 +0000 (18:16 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 15 Feb 2008 18:16:22 +0000 (18:16 +0000)
syslog/edit_log.cgi

index e4b361e..18fd4e6 100755 (executable)
@@ -78,7 +78,7 @@ print &ui_table_row($text{'edit_active'},
 if ($config{'tags'}) {
        # Tag name
        print &ui_table_row($text{'edit_tag'},
-           &ui_select("tag", $log->{'section'},
+           &ui_select("tag", $log->{'section'}->{'tag'},
                [ map { [ $_->{'index'},
                          $_->{'tag'} eq '*' ? $text{'all'} : $_->{'tag'} ] }
                      grep { $_->{'tag'} } @$conf ]));