mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add Vendor Details Popup, works with Domain Vendors right now, Added fallBack function when no text is present use a placeholder
This commit is contained in:
@@ -1408,4 +1408,9 @@ function logAuth($status, $details) {
|
||||
}
|
||||
|
||||
mysqli_query($mysqli, "INSERT INTO auth_logs SET auth_log_status = $status, auth_log_details = '$details', auth_log_ip = '$session_ip', auth_log_user_agent = '$session_user_agent', auth_log_user_id = $session_user_id");
|
||||
}
|
||||
|
||||
// Helper function for missing data fallback
|
||||
function getFallback($data) {
|
||||
return !empty($data) ? $data : '<span class="text-muted">N/A</span>';
|
||||
}
|
||||
Reference in New Issue
Block a user