From aa2bc2bfca200e713a3a831192c992d78d782c47 Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Sun, 10 Apr 2005 10:13:28 +0000 Subject: [PATCH 1/1] *grr* Don't parse the "binary_file" {IF} block, parse the "binary" {IF} block! --- modules/Command.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Command.pm b/modules/Command.pm index 1d3b6e2..7119349 100644 --- a/modules/Command.pm +++ b/modules/Command.pm @@ -181,7 +181,7 @@ sub exec_show($$) $ftpl->parse_if_block('link',-l $phys_path); $ftpl->parse_if_block('no_link',not -l $phys_path); $ftpl->parse_if_block('not_readable',not -r $phys_path); - $ftpl->parse_if_block('binary_file',-B $phys_path); + $ftpl->parse_if_block('binary',-B $phys_path); $ftpl->parse_if_block('readonly',not -w $phys_path); $ftpl->parse_if_block('viewable',(-r $phys_path && -T $phys_path && not $too_large) || -l $phys_path); -- 2.34.1