OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7601442
)
BugTrack2/260: grobal $script => $script = get_script_uri()
author
henoheno
<henoheno>
Sun, 11 Nov 2007 12:14:09 +0000
(21:14 +0900)
committer
umorigu
<umorigu@gmail.com>
Sun, 30 Nov 2014 11:09:53 +0000
(20:09 +0900)
plugin/edit.inc.php
patch
|
blob
|
history
diff --git
a/plugin/edit.inc.php
b/plugin/edit.inc.php
index
555370e
..
a35df73
100644
(file)
--- a/
plugin/edit.inc.php
+++ b/
plugin/edit.inc.php
@@
-82,7
+82,7
@@
function plugin_edit_inline()
{
static $usage = '&edit(pagename#anchor[[,noicon],nolabel])[{label}];';
- global $
script, $
vars, $fixed_heading_anchor_edit;
+ global $vars, $fixed_heading_anchor_edit;
if (PKWK_READONLY) return ''; // Show nothing
@@
-152,6
+152,7
@@
function plugin_edit_inline()
}
// URL
+ $script = get_script_uri();
if ($isfreeze) {
$url = $script . '?cmd=unfreeze&page=' . rawurlencode($s_page);
} else {