Added Truncated Description to Expense listing #203

This commit is contained in:
johnnyq
2021-11-18 17:56:02 -05:00
parent 604d2a7417
commit 3ca92cd252
2 changed files with 3 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ function get_device(){
}
}
function truncate($text, $chars = 25) {
function truncate($text, $chars) {
if (strlen($text) <= $chars) {
return $text;
}