1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fix truncateString

This commit is contained in:
Hillel Coren 2017-03-08 11:31:56 +02:00
parent bc4f70e3ed
commit aec951cc6d

View File

@ -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;
} }
} }