move explode of $line inside of if block to fix php warning for line 93 (#6842)
This commit is contained in:
parent
1664bef5d9
commit
9f204a7cac
|
|
@ -87,11 +87,10 @@ class event_socket {
|
|||
if ($line === '') {
|
||||
break;
|
||||
}
|
||||
list($key, $value) = explode(':', $line, 2);
|
||||
$content[trim($key)] = trim($value);
|
||||
}
|
||||
|
||||
list($key, $value) = explode(':', $line, 2);
|
||||
$content[trim($key)] = trim($value);
|
||||
|
||||
if (feof($this->fp)) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue