Merge pull request #311 from ladybirdweb/analysis-z4m2je

Applied fixes from StyleCI
This commit is contained in:
Manish Verma
2016-11-16 10:52:17 +05:30
committed by GitHub

View File

@@ -109,7 +109,7 @@ class UserController extends Controller
} }
if (strlen($string) > 20) { if (strlen($string) > 20) {
// truncate string // truncate string
$stringCut = mb_substr($string, 0, 20, "UTF-8"); $stringCut = mb_substr($string, 0, 20, 'UTF-8');
} else { } else {
$stringCut = $string; $stringCut = $string;
} }