mirror of
https://github.com/itflow-org/itflow
synced 2026-07-25 01:40:40 +00:00
Replace Function getFallBack with valueOrDash()
This commit is contained in:
@@ -75,7 +75,7 @@ function getTicketStatusName($ticket_status) {
|
||||
}
|
||||
|
||||
// Helper function for missing data fallback
|
||||
function getFallback($data) {
|
||||
function valueOrDash($data) {
|
||||
return !empty($data) ? $data : '-';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user