Fixed little issue in helper.php for Dublin Core Metadata
This commit is contained in:
parent
ccbef54c7c
commit
891bb772fb
1 changed files with 6 additions and 3 deletions
|
@ -171,13 +171,16 @@ class helper_plugin_semantic extends DokuWiki_Plugin {
|
||||||
global $conf;
|
global $conf;
|
||||||
global $ID;
|
global $ID;
|
||||||
|
|
||||||
if (! $this->meta = $this->getMetadata()) return false;
|
if (! $this->meta) return false;
|
||||||
|
|
||||||
$license = $this->getLicense();
|
$license = $this->getLicense();
|
||||||
$contributors = array();
|
$contributors = array();
|
||||||
|
|
||||||
|
if (isset($this->meta['contributor'])) {
|
||||||
foreach ($this->meta['contributor'] as $uid => $fullname) {
|
foreach ($this->meta['contributor'] as $uid => $fullname) {
|
||||||
$contributors[] = $fullname;
|
$contributors[] = $fullname;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$dublin_core = array(
|
$dublin_core = array(
|
||||||
'DC.Title' => $this->getTitle(),
|
'DC.Title' => $this->getTitle(),
|
||||||
|
|
Loading…
Reference in a new issue