OSDN Git Service

BugTrack/2420 AutoTicketLink - Improve regex and JSON encode
[pukiwiki/pukiwiki.git] / plugin / calendar_edit.inc.php
index fa73963..878d332 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: calendar_edit.inc.php,v 1.9 2005/05/04 05:03:48 henoheno Exp $
+// $Id: calendar_edit.inc.php,v 1.10 2005/05/04 05:07:51 henoheno Exp $
 // Copyright (C)
 //   2003,2005 PukiWiki Developers Team
 //   2001-2002 Originally written by yu-ji
@@ -14,10 +14,10 @@ function plugin_calendar_edit_convert()
 
        if (! file_exists(PLUGIN_DIR . 'calendar.inc.php')) return FALSE;
 
-       $command = 'edit';
        require_once PLUGIN_DIR . 'calendar.inc.php';
        if (! function_exists('plugin_calendar_convert')) return FALSE;
 
+       $command = 'edit';
        $args = func_num_args() ? func_get_args() : array();
        return call_user_func_array('plugin_calendar_convert', $args);
 }