Closed jessecrossen closed 7 years ago
The behavior of this line does not seem to match the intent: https://github.com/varspool/Wrench/blob/master/lib/Wrench/Protocol/Protocol.php#L696
It currently reads:
if (count($parts) != 2) { $parts = array($parts, ''); }
I think what you want to do is this:
if (count($parts) != 2) { $parts = array($parts[0], ''); }
Otherwise you wind up with nested arrays, which will break the explode call below.
explode
The behavior of this line does not seem to match the intent: https://github.com/varspool/Wrench/blob/master/lib/Wrench/Protocol/Protocol.php#L696
It currently reads:
I think what you want to do is this:
Otherwise you wind up with nested arrays, which will break the
explode
call below.