Do not use the null coalescing operator to retain pre PHP 7 support.

This commit is contained in:
Andrew Querol
2021-03-23 00:07:35 -05:00
parent ee30b59909
commit 4075a12a74
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
$select_label = str_replace('email-icon', '&#9993', $select_label);
//add the select option
$uuid = $row[$singular.'_uuid'] ?? $row['uuid'];
$uuid = isset($row[$singular.'_uuid']) ? $row[$singular.'_uuid'] : $row['uuid'];
echo " <option id='{$uuid}' value='".$select_value."'>".$select_label."</option>\n";
}
}