Commit bdb095e5 authored by maryoflaherty's avatar maryoflaherty
Browse files

Check if variable is set

parent 1007c3c7
......@@ -14,7 +14,7 @@
$this->command = $this->createElement($command);
$this->body->appendChild($this->command);
if ($this->type !== "") {
if (isset($this->type)) {
$this->payload = $this->createElementNS(
Net_EPP_ObjectSpec::xmlns($this->type),
$this->type.':'.$command
......@@ -24,7 +24,7 @@
}
$this->clTRID = $this->createElement('clTRID');
$this->clTRID->appendChild($this->createTextNode('a'));
$this->clTRID->appendChild($this->createTextNode(''));
$this->body->appendChild($this->clTRID);
}
......
Markdown is supported
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