mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
remove instances where a pointer is used in a foreach loop for value (#7108)
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
}
|
||||
|
||||
//find and remove the "|2" that denotes a duplicate header
|
||||
foreach ($headers as &$header) {
|
||||
foreach ($headers as $header) {
|
||||
$pos = strpos($header, '|');
|
||||
if ($pos !== false) {
|
||||
$header = substr($header, 0, $pos);
|
||||
|
||||
Reference in New Issue
Block a user