remove instances where a pointer is used in a foreach loop for value (#7108)
This commit is contained in:
@@ -45,7 +45,7 @@ if ($domains_processed == 1) {
|
||||
$sql .= "and (t.call_center_queue_uuid is null or t.call_center_agent_uuid is null) ";
|
||||
$tiers = $database->select($sql, null, 'all');
|
||||
if (!empty($tiers)) {
|
||||
foreach ($tiers as $index => &$row) {
|
||||
foreach ($tiers as $index => $row) {
|
||||
if ($row['call_center_queue_uuid'] == null && $row['queue_uuid'] != null) {
|
||||
$array['call_center_tiers'][$index]['call_center_queue_uuid'] = $row['queue_uuid'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user