mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Added Truncated Description to Expense listing #203
This commit is contained in:
@@ -173,7 +173,7 @@ function get_device(){
|
||||
}
|
||||
}
|
||||
|
||||
function truncate($text, $chars = 25) {
|
||||
function truncate($text, $chars) {
|
||||
if (strlen($text) <= $chars) {
|
||||
return $text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user