Compare commits

..

2 commits

View file

@ -131,7 +131,7 @@ class helper_plugin_semantic extends DokuWiki_Plugin
*/ */
public function getAuthor() public function getAuthor()
{ {
return ( array_key_exists('creator', $this->meta) ) ? return ( array_key_exists('creator', $this->meta ) ?
$this->meta['creator'] : null; $this->meta['creator'] : null;
} }
@ -142,7 +142,7 @@ class helper_plugin_semantic extends DokuWiki_Plugin
*/ */
public function getAuthorID() public function getAuthorID()
{ {
return ( array_key_exists('user', $this->meta) ) ? return ( array_key_exists('user', $this->meta ) ?
$this->meta['user'] : null; $this->meta['user'] : null;
} }