DB Update Added Null Default to new meshcentral vars so it doesnt break when adding records, Added Service History #384 Thank you @aftechro for the idea. This has been added to asset list and ticket details and some UI updates to ticket details as well

This commit is contained in:
johnnyq
2022-02-27 16:55:57 -05:00
parent 5063bdb854
commit f102c19692
5 changed files with 116 additions and 17 deletions

View File

@@ -72,7 +72,7 @@
<?php
// WIP Need to only show users within the session company
$sql = mysqli_query($mysqli,"SELECT * FROM users ORDER BY user_name ASC");
$sql = mysqli_query($mysqli,"SELECT * FROM users WHERE user_id IN('$session_user_company_access') ORDER BY user_name ASC");
while($row = mysqli_fetch_array($sql)){
$user_id = $row['user_id'];
$user_name = $row['user_name'];