mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
move explode of $line inside of if block to fix php warning for line 93 (#6842)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user