From 1547a75731cac6c4a7c59cbdda7d312fc607aef1 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 8 Mar 2017 11:31:34 +0200 Subject: [PATCH] Fix truncateString --- app/Libraries/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index 276a961be1c4..2434480642bd 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -1231,6 +1231,6 @@ class Utils 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; } }