OSDN Git Service

BugTrack/794: Correct r1.6. Disabling #plugins
authorhenoheno <henoheno>
Sat, 5 Feb 2005 06:47:10 +0000 (15:47 +0900)
committerhenoheno <henoheno>
Sat, 5 Feb 2005 06:47:10 +0000 (15:47 +0900)
lib/plugin.php

index 0940f38..6b72cc2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: plugin.php,v 1.6 2004/12/30 13:50:54 henoheno Exp $
+// $Id: plugin.php,v 1.7 2005/02/05 06:47:10 henoheno Exp $
 //
 // Plugin related functions
 
@@ -112,6 +112,8 @@ function do_plugin_convert($name, $args = '')
                return preg_replace('/(<form[^>]*>)/', '$1 ' . "\n" .
                        '<div><input type="hidden" name="encode_hint" value="' .
                        PKWK_ENCODING_HINT . '" /></div>', $retvar);
+       } else {
+               return $retvar;
        }
 }