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
+2 -2
View File
@@ -172,7 +172,7 @@
$voicemails_count_tmp = $database->select($sql, $parameters, 'all');
$voicemails_count = array();
foreach ($voicemails_count_tmp as &$row) {
foreach ($voicemails_count_tmp as $row) {
$voicemails_count[$row['voicemail_uuid']] = $row['voicemail_count'];
}
unset($sql, $parameters, $voicemails_count_tmp);
@@ -188,7 +188,7 @@
$voicemail_greetings_count_tmp = $database->select($sql, $parameters, 'all');
$voicemail_greetings_count = array();
foreach ($voicemail_greetings_count_tmp as &$row) {
foreach ($voicemail_greetings_count_tmp as $row) {
$voicemail_greetings_count[$row['voicemail_id']] = $row['greeting_count'];
}
unset($sql, $parameters, $voicemail_greetings_count_tmp);