Number Translations: Update for PHP 8.1
This commit is contained in:
parent
305a18c6b0
commit
eeba323429
|
|
@ -71,8 +71,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//prepare the array
|
//prepare the array
|
||||||
foreach($number_translations as $row) {
|
$x = 0;
|
||||||
$array['number_translations'][$x]['checked'] = $row['checked'];
|
foreach ($number_translations as $row) {
|
||||||
|
$array['number_translations'][$x]['checked'] = $row['checked'] ?? null;
|
||||||
$array['number_translations'][$x]['number_translation_uuid'] = $row['number_translation_uuid'];
|
$array['number_translations'][$x]['number_translation_uuid'] = $row['number_translation_uuid'];
|
||||||
$array['number_translations'][$x]['number_translation_enabled'] = $row['number_translation_enabled'];
|
$array['number_translations'][$x]['number_translation_enabled'] = $row['number_translation_enabled'];
|
||||||
$x++;
|
$x++;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue