Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
fault property must be an instance of \Zend\XmlRpc\Fault
Browse files Browse the repository at this point in the history
  • Loading branch information
dima committed Jul 19, 2013
1 parent 288b3fc commit 0974766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/XmlRpc/Request/Stdin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Zend\XmlRpc\Request;

use Zend\XmlRpc\Request as XmlRpcRequest;
use Zend\XmlRpc\Server\Exception as ServerException;
use Zend\XmlRpc\Fault;

/**
* XmlRpc Request object -- Request via STDIN
Expand Down Expand Up @@ -39,7 +39,7 @@ public function __construct()
{
$fh = fopen('php://stdin', 'r');
if (!$fh) {
$this->fault = new ServerException(630);
$this->fault = new Fault(630);
return;
}

Expand Down

0 comments on commit 0974766

Please sign in to comment.