Skip to content

Commit

Permalink
Fixed Error "Cannot access empty property"
Browse files Browse the repository at this point in the history
  • Loading branch information
HexPang committed Aug 26, 2016
1 parent bc9681c commit 701a6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hexpang/Client/SSHClient/SSHClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function cmd($command){
stream_set_blocking($stream, true);
stream_set_blocking($errorStream, true);
$response = stream_get_contents( $stream );
$this->$error = stream_get_contents( $errorStream );
$this->error = stream_get_contents( $errorStream );
fclose( $stream );
fclose( $errorStream );
return $response;
Expand Down

0 comments on commit 701a6bc

Please sign in to comment.