Skip to content

Commit dcc9204

Browse files
committed
Added git-specific files and fixed CRLF issues in JsonRPCClient.class.php
1 parent 59498a6 commit dcc9204

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.php text
2+
*.md text
3+
*.json text
4+
.gitattributes text
5+
.gitignore text

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
composer.phar
2+
vendor/
3+
.project
4+
.settings
5+
.buildpath

org/jsonrpcphp/JsonRPCClient.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ public function __call($method,$params) {
158158
throw new \Exception('Unable to connect to '.$this->url);
159159
}
160160
}
161-
$this->debug && $this->debug.='***** Response *****'."\n".$response."\n".'***** End of Response *****'."\n\n";
162-
$response = json_decode($response,true);
161+
$this->debug && $this->debug.='***** Response *****'."\n".$response."\n".'***** End of Response *****'."\n\n";
162+
$response = json_decode($response,true);
163163

164164
// debug output
165165
if ($this->debug) {

0 commit comments

Comments
 (0)