Skip to content
Snippets Groups Projects
Commit a0ed4553 authored by Andreas Böhler's avatar Andreas Böhler
Browse files

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
......@@ -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);
......
base metaeditor
author Andreas Boehler
email dev@aboehler.at
date 2016-05-15
date 2019-01-25
name Meta Data Editor
desc Edit metadata of pages
url http://www.dokuwiki.org/plugin:metaeditor
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment