Applied fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
92622101cf
commit
f4296a4b62
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user