Skip to content

Commit

Permalink
Always create type QNAMEs.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/trunk@264345 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Jan Schneider committed Aug 6, 2008
1 parent 976e5cb commit 4117228
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Value.php
Expand Up @@ -138,11 +138,9 @@ function SOAP_Value($name = '', $type = false, $value = null,
$this->nqn = new QName($name);
$this->name = $this->nqn->name;
$this->namespace = $this->nqn->namespace;
if ($type) {
$this->tqn = new QName($type);
$this->type = $this->tqn->name;
$this->type_namespace = $this->tqn->namespace;
}
$this->tqn = new QName($type);
$this->type = $this->tqn->name;
$this->type_namespace = $this->tqn->namespace;
$this->value = $value;
$this->attributes = $attributes;
$this->options = $options;
Expand Down

0 comments on commit 4117228

Please sign in to comment.