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,12 +171,15 @@ 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();
|
||||||
foreach ($this->meta['contributor'] as $uid => $fullname) {
|
|
||||||
$contributors[] = $fullname;
|
if (isset($this->meta['contributor'])) {
|
||||||
|
foreach ($this->meta['contributor'] as $uid => $fullname) {
|
||||||
|
$contributors[] = $fullname;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$dublin_core = array(
|
$dublin_core = array(
|
||||||
|
|
Loading…
Reference in a new issue