Fix the display of the device table header

This commit is contained in:
FusionPBX 2023-06-02 15:43:52 -06:00 committed by GitHub
parent 951d3f9321
commit f8662f20a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -480,6 +480,9 @@
echo " </tr>\n";
}
//define the previous profile key vendor
$previous_profile_key_vendor = null;
$x = 0;
foreach($device_profile_keys as $row) {
@ -494,7 +497,6 @@
$device_vendor = str_replace(' ', '_', $row['profile_key_vendor']);
//set the column names
$previous_profile_key_vendor = null;
if ($previous_profile_key_vendor != $row['profile_key_vendor']) {
echo " <tr>\n";
echo " <th class='vtablereq'>".$text['label-device_key_category']."</td>\n";