Commit c11246a
authored
Update FileMakerConnection.php
The $response variable is not checked before method getBody() is called
It happens to me when working on a local environment without an internet connection to the server. The $response variable is null and it crashes without generating a specific exception.
This small fix allows the program to continue and finally returns a ConnectionException1 parent 1603f30 commit c11246a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
690 | | - | |
| 690 | + | |
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| |||
0 commit comments