OSDN Git Service

BugTrack/684 Don't show MenuBar right after unfreezing a page
authorumorigu <umorigu@gmail.com>
Tue, 24 Oct 2017 15:21:42 +0000 (00:21 +0900)
committerumorigu <umorigu@gmail.com>
Tue, 24 Oct 2017 15:21:42 +0000 (00:21 +0900)
plugin/unfreeze.inc.php

index e3154ee..3e35fc0 100644 (file)
@@ -42,7 +42,7 @@ function plugin_unfreeze_action()
                // Update 
                is_freeze($page, TRUE);
                if (PLUGIN_UNFREEZE_EDIT) {
-                       $vars['cmd'] = 'read'; // To show 'Freeze' link
+                       $vars['cmd'] = 'edit'; // To show 'Freeze' link
                        $msg  = $_title_unfreezed;
                        $postdata = remove_author_info($postdata);
                        $body = edit_form($page, $postdata);