Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetaEditor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
DokuWiki
MetaEditor
Commits
a0ed4553
Commit
a0ed4553
authored
6 years ago
by
Andreas Böhler
Browse files
Options
Downloads
Patches
Plain Diff
Fix a long outstanding bug where the first element of a numeric array was never displayed
parent
7568bbb5
Branches
main
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
action.php
+4
-1
4 additions, 1 deletion
action.php
plugin.info.txt
+1
-1
1 addition, 1 deletion
plugin.info.txt
with
5 additions
and
2 deletions
action.php
+
4
−
1
View file @
a0ed4553
...
...
@@ -169,7 +169,10 @@ class action_plugin_metaeditor extends DokuWiki_Action_Plugin {
foreach
(
$meta
as
$k
=>
$v
)
{
$a
=
array
();
$a
[
'text'
]
=
$k
;
if
(
is_numeric
(
$k
))
$a
[
'text'
]
=
strval
(
$k
);
else
$a
[
'text'
]
=
$k
;
if
(
is_array
(
$v
))
{
$a
[
'children'
]
=
$this
->
parseMetaTree
(
$v
);
...
...
This diff is collapsed.
Click to expand it.
plugin.info.txt
+
1
−
1
View file @
a0ed4553
base metaeditor
author Andreas Boehler
email dev@aboehler.at
date 201
6
-0
5-1
5
date 201
9
-0
1-2
5
name Meta Data Editor
desc Edit metadata of pages
url http://www.dokuwiki.org/plugin:metaeditor
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment