remove instances where a pointer is used in a foreach loop for value (#7108)

This commit is contained in:
frytimo
2024-08-22 12:41:10 -06:00
committed by GitHub
parent 0583c5b429
commit 2cbb4dbc31
73 changed files with 170 additions and 170 deletions
+1 -1
View File
@@ -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'];
}