mirror of
https://github.com/opencultureconsulting/simple-oai-pmh.git
synced 2025-03-30 00:00:45 +01:00
Avoid null values for XML elements
This commit is contained in:
parent
beeef31d91
commit
c4a5a09205
@ -78,7 +78,7 @@ class Response {
|
||||
* @param string $nodeName The name of appending node.
|
||||
* @param string $value The content of appending node.
|
||||
*/
|
||||
public function addToVerbNode($nodeName, $value = null) {
|
||||
public function addToVerbNode($nodeName, $value = '') {
|
||||
if (!isset($this->verbNode) && !empty($this->verb)) {
|
||||
$this->verbNode = $this->addChild($this->doc->documentElement, $this->verb);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user