Home
last modified time | relevance | path

Searched hist:"0 d90564c63508563e4f3c8776e96661181a11b99" (Results 1 – 1 of 1) sorted by relevance

/plugin/addnewpage/
H A Dsyntax.phpd49ba5bbd1c846091adb73c73843dcb0c828e8fa Sun Sep 24 16:47:04 UTC 2023 Damien Regad <dregad@mantisbt.org> Skip leading # in newpagevars parameter

The regex for newpagetemplate parameters parsing that was implemented in
commit 0d90564c63508563e4f3c8776e96661181a11b99 included the leading `#`
in the newpagevars parameter, preventing the newpagetemplate plugin from
processing the first parameter as `#@PARAM@` would not match the
expected `@PARAM@`.

Adapting the regex accordingly.

31967e049694389408c9c98a49524275a2789360 Sun Sep 24 16:41:39 UTC 2023 Damien Regad <dregad@mantisbt.org> Fix Array to string conversion warning

Regression introduced by incorrect implementation of newpagevars in
commit 0d90564c63508563e4f3c8776e96661181a11b99 when porting #66 - It
should be a string, not an array.

0d90564c63508563e4f3c8776e96661181a11b99 Sun May 07 16:29:17 UTC 2023 Damien Regad <dregad@mantisbt.org> Add param "newpagevars" for plugin newpagetemplate

Fixes #66

UNTESTED adaptation of commit 9785b7d18e7da5a6454820073a551feb3c2a8617
to the new preg_match()-based parser.