OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BugTrack/2514 PHP8: tracker plugin now works
[pukiwiki/pukiwiki.git]
/
plugin
/
tracker.inc.php
diff --git
a/plugin/tracker.inc.php
b/plugin/tracker.inc.php
index
9b1cd10
..
085c8e7
100644
(file)
--- a/
plugin/tracker.inc.php
+++ b/
plugin/tracker.inc.php
@@
-181,7
+181,7
@@
function plugin_tracker_action()
}
$postdata[$num] = str_replace(
"[$key]",
- ($postdata[$num]
{0} == '|' or $postdata[$num]{0}
== ':') ?
+ ($postdata[$num]
[0] == '|' or $postdata[$num][0]
== ':') ?
str_replace('|','|',$value) : $value,
$postdata[$num]
);