OSDN Git Service

差分表示処理のバグ修正。
authortakezoe <takezoe@users.osdn.me>
Sun, 31 Jul 2011 18:33:07 +0000 (18:33 +0000)
committertakezoe <takezoe@users.osdn.me>
Sun, 31 Jul 2011 18:33:07 +0000 (18:33 +0000)
plugin/core/Diff.pm
plugin/core/EditPage.pm

index c3faea3..668c4b7 100644 (file)
@@ -233,7 +233,6 @@ sub get_diff_html {
 # º¹Ê¬HTML¤òÀ¸À®¤¹¤ë´Ø¿ô
 #==============================================================================
 sub _get_diff_html {
-       my $self = shift;
        my $source1 = shift;
        my $source2 = shift;
        
index d28aad7..250117b 100644 (file)
@@ -56,7 +56,7 @@ sub do_action {
                        $your_source =~ s/\r\n/\n/g;
                        $your_source =~ s/\r/\n/g;
                        
-                       my $diff = plugin::core::Diff::_get_diff_html($wiki, $orig_source, $your_source);
+                       my $diff = plugin::core::Diff::_get_diff_html($orig_source, $your_source);
                        $diff =~ s/\n/<br>/g;
                        
                        $buf .= qq|