Update device_profile_edit.php
This commit is contained in:
@@ -217,10 +217,12 @@
|
|||||||
|
|
||||||
//get the vendor count
|
//get the vendor count
|
||||||
$vendor_count = 0;
|
$vendor_count = 0;
|
||||||
foreach($device_profile_keys as $row) {
|
if (is_array($device_profile_keys) && @sizeof($device_profile_keys) != 0) {
|
||||||
if ($previous_vendor != $row['profile_key_vendor']) {
|
foreach($device_profile_keys as $row) {
|
||||||
$previous_vendor = $row['profile_key_vendor'];
|
if ($previous_vendor != $row['profile_key_vendor']) {
|
||||||
$vendor_count++;
|
$previous_vendor = $row['profile_key_vendor'];
|
||||||
|
$vendor_count++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user