Browse Source

$current must be set

tags/0.3
Paul Rock 7 years ago
parent
commit
25cdc87ecb
  1. 1
      src/Client.php

1
src/Client.php

@ -159,6 +159,7 @@ class Client implements Interfaces\ClientInterface
{ {
$parsed = []; $parsed = [];
$single = null; $single = null;
$current = null;
foreach ($response as $item) { foreach ($response as $item) {
if (\in_array($item, ['!fatal', '!re', '!trap'])) { if (\in_array($item, ['!fatal', '!re', '!trap'])) {
if ($item === '!re') { if ($item === '!re') {

Loading…
Cancel
Save