]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/attachment.pm
i18n
[git.ikiwiki.info.git] / IkiWiki / Plugin / attachment.pm
index f1f792a5a56ffc4cdd5ec4547d614ddf98570de2..999fa4a8609c1b9f48702b3f6132e6d44a87cf71 100644 (file)
@@ -277,7 +277,7 @@ sub attachment_list ($) { #{{{
                        push @ret, {
                                "field-select" => '<input type="checkbox" name="attachment_select" value="'.$f.'" />',
                                link => htmllink($page, $page, $f, noimageinline => 1),
-                               size => humansize((stat(_))[7]),
+                               size => IkiWiki::Plugin::filecheck::humansize((stat(_))[7]),
                                mtime => displaytime($IkiWiki::pagemtime{$f}),
                                mtime_raw => $IkiWiki::pagemtime{$f},
                        };