mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fix truncateString
This commit is contained in:
parent
bc4f70e3ed
commit
aec951cc6d
@ -1231,6 +1231,6 @@ class Utils
|
|||||||
|
|
||||||
public static function truncateString($string, $length)
|
public static function truncateString($string, $length)
|
||||||
{
|
{
|
||||||
return strlen($string) > $length ? rtrim(substr($string, 0, $length)) . '...' : $in;
|
return strlen($string) > $length ? rtrim(substr($string, 0, $length)) . '...' : $string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user