]> git.p6c8.net - devedit.git/commitdiff
*grr*
authorpcanterino <>
Sun, 10 Apr 2005 10:13:28 +0000 (10:13 +0000)
committerpcanterino <>
Sun, 10 Apr 2005 10:13:28 +0000 (10:13 +0000)
Don't parse the "binary_file" {IF} block, parse the "binary" {IF} block!

modules/Command.pm

index 1d3b6e207e1dc3a5d8daaf8cebf13a91b93ecf12..71193493f08f0c961939770e0f8fe61242ec57cf 100644 (file)
@@ -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);

patrick-canterino.de