aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__
diff options
context:
space:
mode:
authorisbear <isbear@web>2012-11-04 07:32:49 -0400
committeradmin <admin@branchable.com>2012-11-04 07:32:49 -0400
commit3b120dd7677e0197aff9e0f73fe43427d3cc1f9c (patch)
treec795ac50eace960dbe29325400b2d078e310489d /doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__
parente6fcd802e531493665d83850f19aa0267728b4ce (diff)
downloadikiwiki-3b120dd7677e0197aff9e0f73fe43427d3cc1f9c.tar
ikiwiki-3b120dd7677e0197aff9e0f73fe43427d3cc1f9c.tar.gz
Possible solution (stray 'my')
Diffstat (limited to 'doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__')
-rw-r--r--doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn b/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn
index d0582cbff..629aba71e 100644
--- a/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn
+++ b/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn
@@ -130,3 +130,12 @@ This is nasty-scary results ! Something missed me or this mime-filecheck is plai
--mathdesc
+
+> > if ($mimeinfo_ok) {
+> > my $mimetype=File::MimeInfo::Magic::magic($file);
+> > }
+>
+> That seems strange to me, `my` restricts scope of $mimetype to enclosing if block, thus, assigned value will be dropped - I think, it is the problem.
+> Try removing that stray `my`.
+>
+> --isbear