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:
87f205d
)
BugTrack/2514 PHP8: tracker plugin now works
author
umorigu
<umorigu@gmail.com>
Sat, 27 Nov 2021 08:40:15 +0000
(17:40 +0900)
committer
umorigu
<umorigu@gmail.com>
Sat, 27 Nov 2021 08:40:15 +0000
(17:40 +0900)
plugin/tracker.inc.php
patch
|
blob
|
history
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]
);