Revision | ef8f0677b16cbe91483a599a3a75c8b6e073c36b (tree) |
---|---|
Time | 2014-11-30 20:09:53 |
Author | henoheno <henoheno> |
Commiter | umorigu |
BugTrack2/260: grobal $script => $script = get_script_uri()
@@ -82,7 +82,7 @@ function plugin_edit_inline() | ||
82 | 82 | { |
83 | 83 | static $usage = '&edit(pagename#anchor[[,noicon],nolabel])[{label}];'; |
84 | 84 | |
85 | - global $script, $vars, $fixed_heading_anchor_edit; | |
85 | + global $vars, $fixed_heading_anchor_edit; | |
86 | 86 | |
87 | 87 | if (PKWK_READONLY) return ''; // Show nothing |
88 | 88 |
@@ -152,6 +152,7 @@ function plugin_edit_inline() | ||
152 | 152 | } |
153 | 153 | |
154 | 154 | // URL |
155 | + $script = get_script_uri(); | |
155 | 156 | if ($isfreeze) { |
156 | 157 | $url = $script . '?cmd=unfreeze&page=' . rawurlencode($s_page); |
157 | 158 | } else { |